diff options
author | Aki <please@ignore.pl> | 2022-09-04 13:16:56 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-09-04 13:16:56 +0200 |
commit | 86648bfabf76497ca65298076fd73ada508b1dee (patch) | |
tree | 0c87c0bd7248a31cd4e3aa60f2089e605d1cfd87 /szilagyi/plots.py | |
parent | 222bc58e3b51a70e95e15fe4681d50809f54c50a (diff) | |
download | szilagyi-86648bfabf76497ca65298076fd73ada508b1dee.zip szilagyi-86648bfabf76497ca65298076fd73ada508b1dee.tar.gz szilagyi-86648bfabf76497ca65298076fd73ada508b1dee.tar.bz2 |
Vector now supports x and y properties to wram real and imag
Diffstat (limited to 'szilagyi/plots.py')
-rw-r--r-- | szilagyi/plots.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |