Skip to content
Discussion options

You must be logged in to vote

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 from import matplotlib as mpl).
In my case I had 3 differences so I fixed it with:

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

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by renato145
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants