You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plotting multiple curves on the same plot should work sucessfully
Actual behavior
Creating the plot works fine, but trying to open and close Figure Options does not work.
This output stack-trace, suggests that it relates to the defined colorcycle , possibly trying to plot more curves with colors not in the cycle.
Traceback (most recent call last):
File "C:\MantidInstall\bin\lib\site-packages\matplotlib\backends\backend_agg.py", line 388, in draw
self.figure.draw(self.renderer)
File "C:\MantidInstall\bin\lib\site-packages\matplotlib\artist.py", line 38, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "C:\MantidInstall\bin\lib\site-packages\matplotlib\figure.py", line 1708, in draw
mimage._draw_list_compositing_images(
File "C:\MantidInstall\bin\lib\site-packages\matplotlib\image.py", line 135, in _draw_list_compositing_images
a.draw(renderer)
File "C:\MantidInstall\bin\lib\site-packages\matplotlib\artist.py", line 38, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "C:\MantidInstall\bin\lib\site-packages\matplotlib\axes\_base.py", line 2647, in draw
mimage._draw_list_compositing_images(renderer, self, artists)
File "C:\MantidInstall\bin\lib\site-packages\matplotlib\image.py", line 135, in _draw_list_compositing_images
a.draw(renderer)
File "C:\MantidInstall\bin\lib\site-packages\matplotlib\artist.py", line 38, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "C:\MantidInstall\bin\lib\site-packages\matplotlib\lines.py", line 783, in draw
lc_rgba = mcolors.to_rgba(self._color, self._alpha)
File "C:\MantidInstall\bin\lib\site-packages\matplotlib\colors.py", line 177, in to_rgba
rgba = _to_rgba_no_colorcycle(c, alpha)
File "C:\MantidInstall\bin\lib\site-packages\matplotlib\colors.py", line 233, in _to_rgba_no_colorcycle
raise ValueError("Invalid RGBA argument: {!r}".format(orig_c))
ValueError: Invalid RGBA argument: ''
Also, notice that two of the curves has no color at all in the settings tab. I think this relates to black and yellow which are not in the defined list in the figure options drop-down menu for colors
After closing the figure options and running into the unhandled exception, the plot is notably different and this should also be fixed.
Before:
After:
Steps to reproduce the behavior
I have put a script and data on babylon under DanielMurphy.
Run this script and open Figure Options on the produced plot.
The text was updated successfully, but these errors were encountered:
This issue is similar to #548
Expected behavior
Plotting multiple curves on the same plot should work sucessfully
Actual behavior
Creating the plot works fine, but trying to open and close Figure Options does not work.
This output stack-trace, suggests that it relates to the defined colorcycle , possibly trying to plot more curves with colors not in the cycle.
Also, notice that two of the curves has no color at all in the settings tab. I think this relates to
black
andyellow
which are not in the defined list in the figure options drop-down menu for colorsAfter closing the figure options and running into the unhandled exception, the plot is notably different and this should also be fixed.
Before:
After:
Steps to reproduce the behavior
I have put a script and data on babylon under DanielMurphy.
Run this script and open Figure Options on the produced plot.
The text was updated successfully, but these errors were encountered: