From 9648c6af1590e89c379fd650a2e66e77386096db Mon Sep 17 00:00:00 2001 From: Markus Rosenstihl Date: Thu, 6 Nov 2025 17:37:16 +0100 Subject: [PATCH] fixed READE example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 69ed49b..38aaa72 100644 --- a/README.md +++ b/README.md @@ -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')