Scheduled maintenance on Monday 2019-06-24 between 10:00-11:00 CEST

Commit 99c9887d authored by Philipp Arras's avatar Philipp Arras

Fix aspect setting in 2D plots

parent 0360e6ca
Pipeline #47703 passed with stages
in 7 minutes and 53 seconds
......@@ -349,11 +349,10 @@ def _plot2D(f, ax, **kwargs):
rgb = _rgb_data(f.to_global_data())
have_rgb = True
label = kwargs.pop("label", None)
foo = kwargs.pop("norm", None)
norm = {} if foo is None else {'norm': foo}
aspect = kwargs.pop("aspect", None)
foo = kwargs.pop("aspect", None)
aspect = {} if foo is None else {'aspect': foo}
ax.set_title(kwargs.pop("title", ""))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment