Commit 2bde09ab authored by mikelovskij's avatar mikelovskij
Browse files

Fixed a plotting issue with the legend not being updated for every dof being plotted.

parent 28f1eaff
......@@ -171,9 +171,11 @@ def error_signals(_kat, xlimits=[-1,1], DOFs=None, plotDOFs=None, replaceDOFSign
for _ in toShow:
if legend is None:
legend =
_legend =
_legend = legend
ax.plot(out.x, out[_.signal_name()] - DC_Offset, label=legend)
ax.plot(out.x, out[_.signal_name()] - DC_Offset, label=_legend)
ax.set_xlim([np.min(out.x), np.max(out.x)])
ax.set_xlabel("{} [deg]".format(
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