Skip to content

Commit 5fb9017

Browse files
committed
Merge pull request #6895 from anntzer/prevent-forced-alpha-in-figureoptions
FIX: Prevent forced alpha in figureoptions.
1 parent b338a71 commit 5fb9017

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/backends/qt_editor/figureoptions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ def apply_callback(data):
207207
line.set_drawstyle(drawstyle)
208208
line.set_linewidth(linewidth)
209209
rgba = mcolors.to_rgba(color)
210-
line.set_color(rgba[:3])
211-
line.set_alpha(rgba[-1])
210+
line.set_alpha(None)
211+
line.set_color(rgba)
212212
if marker is not 'none':
213213
line.set_marker(marker)
214214
line.set_markersize(markersize)

0 commit comments

Comments
 (0)