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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy