Commit 30d17f0d authored by theos's avatar theos
Browse files

nifty_lm: Fixed plot routine

parent 78ff4dbf
......@@ -759,6 +759,11 @@ class lm_space(point_space):
the figure is not saved (default: False).
"""
try:
x = x.get_full_data()
except AttributeError:
pass
if(not pl.isinteractive())and(not bool(kwargs.get("save", False))):
about.warnings.cprint("WARNING: interactive mode off.")
......@@ -811,7 +816,6 @@ class lm_space(point_space):
ax0.set_title(title)
else:
x = self.cast(x)
if(np.iscomplexobj(x)):
if(title):
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