Skip to content
This repository has been archived by the owner on Nov 5, 2020. It is now read-only.

Commit

Permalink
Remove '.name' reference in RTDCBase from contour plots (close #160)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Jul 12, 2017
1 parent 51053a1 commit 5510034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shapeout/gui/plot_contour.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def set_contour_data(plot, measurements, levels=[0.5,0.95]):
y0 = mm[yax]

for ii, mm in enumerate(measurements):
cname = "con_{}_{}_{}".format(mm.name, mm.identifier, ii)
cname = "con_{}_{}".format(ii, mm.identifier)
if cname in plot.plots:
plot.delplot(cname)

Expand Down

0 comments on commit 5510034

Please sign in to comment.