| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| curveRef = self.subplot.plot(xData, yData, stylestr, **properties)[0] | ||
| self.subplot.legend(**legendBoxProperties()) | ||
| _, properties = self.__translateStyles(style) | ||
| curveRef = self.subplot.plot(xData, yData, **properties)[0] |
There was a problem hiding this comment.
Warning 1: UserWarning: linestyle is redundantly defined by the 'linestyle' keyword argument
properties already has linestyle shown below:
properties.update({"color": color, "linestyle": lineStyle, "linewidth": lineWidth})
Sorry, something went wrong.
| _, properties = self.__translateStyles(style) | ||
| curveRef = self.subplot.plot(xData, yData, **properties)[0] | ||
| if "legend" in style: | ||
| self.subplot.legend(**legendBoxProperties()) |
There was a problem hiding this comment.
Warning 2: No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
Solution - just check whether style contains legend like it was checked in line 321 of extendedplotframe.py
if "legend" in style:
properties["label"] = style["legend"]
return stylestr, properties
Sorry, something went wrong.
There was a problem hiding this comment.
Ready for review @sbillinge
Sorry, something went wrong.
There was a problem hiding this comment.
This looks good. I will merge, but @bobleesj it would be good if we can figure out a way to test that this hasn't broken any thing in the interface. Can we maybe figure out where these code statements are used and make sure the GUI hasn't changed?
Sorry, something went wrong.
|
I've left an issue for now. Will double-check after we can pre-release on conda-forge. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Closes #213
Closes #152