You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make our "inline" matplotlib rc_param overwrite a classic-inline theme #9710
rc=Dict({'figure.figsize': (6.0,4.0),
# play nicely with white background in the Qt and notebook frontend'figure.facecolor': (1,1,1,0),
'figure.edgecolor': (1,1,1,0),
# 12pt labels get cutoff on 6x4 logplots, so use 10pt.'font.size': 10,
# 72 dpi matches SVG/qtconsole# this only affects PNG export, as SVG has no dpi setting'savefig.dpi': 72,
# 10pt still needs a little more room on the xlabel:'figure.subplot.bottom' : .125
},
help="""Subset of matplotlib rcParams that should be different for the inline backend."""
).tag(config=True)
My thought is no - that we should finish fixing any small defaults deviations we might have there (looking at the dpi issue you mentioned) but otherwise let users access the normal matplotlib mechanisms as much as possible.
I think we should close this, but will wait a bit in case there's a difference of opinion.
Activity
mpacer commentedon Jul 25, 2016
Breaking this down into at least three(four) different parts:
matplotlibthemematplotlib(if possible w/o usingsetuptools)%matplotlib inlineuse the theme by defaultmpacer commentedon Jul 25, 2016
Ok, so 0. can be found in this commit in ipykernel
as of right now its
Next is to figure out the
matplotlibtheme syntaxtacaswell commentedon Jul 29, 2016
I suggest that you you do 0 and 1 via by implementing matplotlib/matplotlib#6738 and then using it from inside an ipython notebook with mpl 1.5
Or just start from https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/mpl-data/stylelib/classic.mplstyle
You can just add a path to https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/style/core.py#L33 mpl should probably grow a nicer API for managing that list.
takluyver commentedon Feb 23, 2017
This has been bumped through several minor release milestones now. Is anyone intending to work on it, or shall we wishlist it?
Carreau commentedon Feb 23, 2017
Wishlist'ed
Refactor themes & options, add text margins & more
mgeier commentedon Sep 3, 2022
Just a little update: the RC overrides have been removed in ipython/matplotlib-inline#14
From today's POV, would it still make sense to create an "inline" theme?
fperez commentedon Sep 4, 2022
My thought is no - that we should finish fixing any small defaults deviations we might have there (looking at the dpi issue you mentioned) but otherwise let users access the normal matplotlib mechanisms as much as possible.
I think we should close this, but will wait a bit in case there's a difference of opinion.