- Notifications
You must be signed in to change notification settings - Fork22
Remove the magic background colour.#84
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
9419be5
tocc3ec93
Comparecc3ec93
to23604bf
Compareself.axes.set_facecolor(NAPARI_WINDOW_COLOR) | ||
# changing color of axes background to transparent | ||
self.canvas.figure.patch.set_facecolor("none") | ||
self.axes.set_facecolor("none") | ||
# changing colors of all axes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Bit of a napari noob here, but I'd guess that these lines 👇 don't work withlight themes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Ooh yes, suppose they will not. I hadn't heard of the light theme before, I will open a new issue to test and possibly fixnapari-matplotlib
with the white theme.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
👍 LGTM, with the napari light theme selected the Matplotlib figure (looks awful but) has a transparent background.
Solves#35