-
Hi, I have a docker image that runs Cheers |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Do you observe the same result using only Jupyter Notebook? To note, a small reproducible example would help (even yourself) figuring this out. |
Beta Was this translation helpful? Give feedback.
-
Got the solution, it was the default parameters for matplotlib. diffs = {
'figure.dpi': 72.0,
'figure.figsize': [6.0, 4.0],
'figure.subplot.bottom': 0.125
}
for k,v in diffs.items(): mpl.rcParams[k] = v |
Beta Was this translation helpful? Give feedback.
Got the solution, it was the default parameters for matplotlib.
For anyone having a similar problem check the differences of the
mpl.rcParams
object between your local environment and docker (mpl
comes fromimport matplotlib as mpl
).In my case I had 3 differences so I fixed it with: