Repository navigation
Fix boxplot conversion by mapping 'none' colors to transparent rgba - #5700
Conversation
0313262 to
6e40185
Compare
7306cb5 to
df0db87
Compare
camdecoster
left a comment
There was a problem hiding this comment.
Thanks for another update! I left some suggestions that I think would simplify/improve the code.
On another note, what do you think of updating our copy of mplexporter? It wouldn't be simple, but it might be worth the effort to take advantage of the updates that have been made in the last 12 years.
|
Could you also please add a changelog entry? |
df0db87 to
15283d1
Compare
|
Thanks! I combined |
|
Agreed that it might be worth updating our copy of |
mpl_to_plotly crashes when converting boxplots:
Boxplot outlier markers use facecolor="none" (fully transparent) in matplotlib. The converter passes that color verbatim into the plotly trace, and plotly.py's validators reject "none" for color property.
Fix: transparent matplotlib colors are mapped to rgba(0,0,0,0), which plotly accepts.
Snippet to reproduce: