Preserve matplotlib axis line colors when converting from matplotlib - #5311
Preserve matplotlib axis line colors when converting from matplotlib#5311robertoffmoura wants to merge 1 commit into
Conversation
e65619c to
0335226
Compare
|
@robertoffmoura Thanks for the contribution! I'm happy to merge this but just to make sure I have the full context, can you explain why this is the correct behavior? Are the axes lines black by default in matplotlib? |
|
Hi @emilykl, |
0335226 to
9e6fea8
Compare
cc8900a to
b420876
Compare
|
Hi @emilykl, I updated the PR so that the plotly picks the axis color from the matplotlib figure. Before the change, the plotly plot axis was white even if the matplotlib plot axis was black. Here's a snippet. Before the change it would print Here's a screenshot of the matplotlib figure: And here's a screenshot of the converted plotly figure before the change (incorrect white axis line) |
b420876 to
c2dd1a2
Compare
c2dd1a2 to
00e39ec
Compare
00e39ec to
d873ee2
Compare
|
Assigning @camdecoster since he now has context across the other active fix PRs in this area. |



plotly.graph_objects, my modifications concern the code generator and not the generated files.