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
small plots when rerunning the jupyter notebooks #36
Comments
Hey. Which version of Jupyter and matplotlib are you using?
I'm seeing DPI, which I feel is a better way to enlarge the figures. In
some versions of the notebook this setting is ignored sometimes.
Sent from phone. Please excuse spelling and brevity.
…On Jun 15, 2017 11:48 AM, "blinkeye" ***@***.***> wrote:
If the jupyter notebooks are executed (again) the resulting plots are a
lot smaller than before. I suggest to set the *figure.figsize* option in
the *preample.py* to something like:
plt.rcParams['figure.figsize'] = 15, 10
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#36>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAbcFlWV3FvrZxTBQPXwjYs9Lhf53kloks5sEVJKgaJpZM4N7Z5F>
.
|
The difference is that setting DPI also enlarges the font and markers
proportionally
Sent from phone. Please excuse spelling and brevity.
…On Jun 15, 2017 11:56 AM, "Andreas Mueller" ***@***.***> wrote:
Hey. Which version of Jupyter and matplotlib are you using?
I'm seeing DPI, which I feel is a better way to enlarge the figures. In
some versions of the notebook this setting is ignored sometimes.
Sent from phone. Please excuse spelling and brevity.
On Jun 15, 2017 11:48 AM, "blinkeye" ***@***.***> wrote:
> If the jupyter notebooks are executed (again) the resulting plots are a
> lot smaller than before. I suggest to set the *figure.figsize* option in
> the *preample.py* to something like:
>
> plt.rcParams['figure.figsize'] = 15, 10
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#36>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAbcFlWV3FvrZxTBQPXwjYs9Lhf53kloks5sEVJKgaJpZM4N7Z5F>
> .
>
|
I've downloaded the most recent
Matplotlib version:
Jupyter version:
|
I followed up on your hint about changing the DPI of the figures. That's a better solution, so I added
to preample.py It looks to me like the default is figure.dpi = 100 which is a bit too small (and smaller than your initial figures). |
Hmm I have to double check, it was 300 for the book, but maybe I changed it
later. Thanks for investigating! There was a version issue and I might have
not finished up the work on this.
Sent from phone. Please excuse spelling and brevity.
…On Jun 15, 2017 14:35, "blinkeye" ***@***.***> wrote:
I followed up on your hint about changing the DPI of the figures. That's a
better solution, so I added
plt.rcParams['figure.dpi'] = 150
to *preample.py*
It looks to me like the default is *figure.dpi = 100* which is a bit too
small (and smaller than your initial figures).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAbcFnp-LHqc3TQDuWOf99-E6IaqRiOHks5sEXHygaJpZM4N7Z5F>
.
|
I started with 300 (like you use for saving images in preample.py): |
hm no, it shouldn't be. And that's not for saving images, that's also for showing them in the notebook. That's why I was asking about your notebook version. Depending on which version of the notebook you have, this is used or not. |
I posted the Matplotlib and Jupyter versions above. Do you mean the notebook version of your git repo? I'm using your master branch and the HEAD version, which is currently:
The notebooks all start with:
|
Oh sorry, overread the version. |
What's
? |
I'm running
and they are affected, will have to look into it more deeply, also check out jupyter/notebook#2544 |
this is caused by: I'm replacing |
fixed in cccbbca |
If the jupyter notebooks are executed (again) the resulting plots are a lot smaller than before. I suggest to set the figure.figsize option in the preample.py to something like:
plt.rcParams['figure.figsize'] = 15, 10
The text was updated successfully, but these errors were encountered: