fixed READE example

This commit is contained in:
2025-11-06 17:37:16 +01:00
parent dbdd7b4540
commit 9648c6af15

View File

@@ -31,9 +31,9 @@ One can specify the keyword `full` to enable a range of continuous colors from t
TUDPlot also comes with a basic exporter `saveagr`, to save the current matplotlib figure in xmgrace agr format.
from matplotlib import pyplot as plt
import matplotlib.pyplot as plt
fig = plt.figure()
fig.plot([1,2,3], label='Test')
plt.plot([1,2,3], label='Test')
# Do more plotting here...
# When the figure is complete:
tudplot.saveagr('test.agr')