-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decreased legend visibility on massive-plots
#66
Comments
UpdateThis will not be fixed in the upcoming PR merging |
Dear @quantum9Innovation, ax.legend(loc="lower center", bbox_to_anchor=(0.5, -0.2), borderaxespad=0, ncol=2)
plt.tight_layout() |
This commit fixes "Decreased legend visibility on `massive-plots`" (#66) via a suggestion by @lisphilar. Changelist: - Fix `epi.plots.native::stacked` Co-authored-by: Lisphilar <7270139+lisphilar@users.noreply.github.com>
@lisphilar Thank you for the advice! I've added this fix to a new branch ( |
I'll close the issue as soon as this branch is merged. |
Thank you for updating and mentioning me at the commit! |
Describe the bug
The newly-added support for native stacked area charts in
massive-plots
(epi.plots.native.stacked()
) lacks good legend visibility. This is due to the fact that for some reason,matplotlib
fails to enforce the default white background for graphical elements on plots, resulting in no contrast between the graph itself and the legend.To Reproduce
See
tests/plotting::test_full_native_stack
Expected behavior
All legends should have a white background, thus standing out from the rest of the plot.
Screenshots
As shown in the plot above, legend colors blend in with the actual graphics.
Python
massive-plots
@ 4068117pre-alpha
Anaconda
Additional context
This issue was mentioned in commit 4068117
The text was updated successfully, but these errors were encountered: