From 86648bfabf76497ca65298076fd73ada508b1dee Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 4 Sep 2022 13:16:56 +0200 Subject: Vector now supports x and y properties to wram real and imag --- szilagyi/plots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'szilagyi/plots.py') diff --git a/szilagyi/plots.py b/szilagyi/plots.py index b38b99e..44782d6 100644 --- a/szilagyi/plots.py +++ b/szilagyi/plots.py @@ -31,5 +31,5 @@ if __name__ == "__main__": C.append(row) plot.pcolormesh(X, Y, C, cmap='viridis', vmin=-10, vmax=10, rasterized=True) for _, data in _dataset.INDICES: - plot.plot([x[0] for x in data], [x[1] for x in data]) + plot.plot([x.x for x in data], [x.y for x in data]) plot.show() -- cgit v1.1