Skip to content

Commit 2972f15

Browse files
authored
Merge pull request #6895 from anntzer/prevent-forced-alpha-in-figureoptions
FIX: Prevent forced alpha in figureoptions.
2 parents 3f7e675 + 24fb5c6 commit 2972f15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/backends/qt_editor/figureoptions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ def apply_callback(data):
209209
line.set_drawstyle(drawstyle)
210210
line.set_linewidth(linewidth)
211211
rgba = mcolors.to_rgba(color)
212-
line.set_color(rgba[:3])
213-
line.set_alpha(rgba[-1])
212+
line.set_alpha(None)
213+
line.set_color(rgba)
214214
if marker is not 'none':
215215
line.set_marker(marker)
216216
line.set_markersize(markersize)

0 commit comments

Comments
 (0)