# Plots.jl tiny plots in jupyter-notebook

**URL:** <https://discourse.julialang.org/t/plots-jl-tiny-plots-in-jupyter-notebook/14770>\
**Category:** General Usage\
**Created:** [September 10, 2018, 3:20pm UTC](https://discourse.julialang.org/t/plots-jl-tiny-plots-in-jupyter-notebook/14770 "2018-09-10T15:20:53Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![jw3126](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jw3126/32/3086_2.png) [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Post date:** [September 10, 2018, 3:20pm UTC](https://discourse.julialang.org/t/plots-jl-tiny-plots-in-jupyter-notebook/14770/1 "2018-09-10T15:20:53Z")

</div>

Pkg upgraded my packages and now all jupyter-notbook plots are tiny. Any idea how to fix this? ![Capture](https://global.discourse-cdn.com/julialang/original/3X/5/1/51509677123fe1c54f3c09478b548a602f066e01.png)

---

<div class="post-metadata">

**Author:** ![mkborregaard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkborregaard/32/556_2.png) [@mkborregaard](https://discourse.julialang.org/u/mkborregaard)\
**Post date:** [September 10, 2018, 3:38pm UTC](https://discourse.julialang.org/t/plots-jl-tiny-plots-in-jupyter-notebook/14770/2 "2018-09-10T15:38:32Z")

</div>

You need GR 0.34.1. Try `]up`

---

<div class="post-metadata">

**Author:** ![BLI](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bli/32/37206_2.png) [@BLI](https://discourse.julialang.org/u/BLI)\
**Post date:** [September 10, 2018, 9:55pm UTC](https://discourse.julialang.org/t/plots-jl-tiny-plots-in-jupyter-notebook/14770/3 "2018-09-10T21:55:18Z")

</div>

Another question on Plots… With Julia v.0.6.4, I can do `using Plots; pyplot()` and continue to do `plot(…)`.  
With Julia v. 0.7 and v. 1.0, I get some error message/warning about conflicting `plot` commands, and it appears that I need to use the namespace of `PyPlot` for it to work.  
Question: What is the reason for this change in behavior?

---

<div class="post-metadata">

**Author:** ![mkborregaard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkborregaard/32/556_2.png) [@mkborregaard](https://discourse.julialang.org/u/mkborregaard)\
**Post date:** [September 11, 2018, 6:39am UTC](https://discourse.julialang.org/t/plots-jl-tiny-plots-in-jupyter-notebook/14770/4 "2018-09-11T06:39:51Z")

</div>

There’s been no such change, and I can’t reproduce this.

---

<div class="post-metadata">

**Author:** ![jw3126](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jw3126/32/3086_2.png) [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Post date:** [September 11, 2018, 7:08am UTC](https://discourse.julialang.org/t/plots-jl-tiny-plots-in-jupyter-notebook/14770/5 "2018-09-11T07:08:44Z")

</div>

I have GR 0.34.1, also tried to `rm` + `add` it, but it does not help. Any other ideas?

---

<div class="post-metadata">

**Author:** ![improbable22](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/improbable22/32/5464_2.png) [@improbable22](https://discourse.julialang.org/u/improbable22)\
**Post date:** [September 12, 2018, 12:08pm UTC](https://discourse.julialang.org/t/plots-jl-tiny-plots-in-jupyter-notebook/14770/6 "2018-09-12T12:08:48Z")

</div>

This happens to me too – with GR v0.34.1, Plots v0.19.3, IJulia v1.11.1 and Julia 0.7.0 on a mac.

---

<div class="post-metadata">

**Author:** ![krcools](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/krcools/32/10212_2.png) [@krcools](https://discourse.julialang.org/u/krcools)\
**Post date:** [September 12, 2018, 1:46pm UTC](https://discourse.julialang.org/t/plots-jl-tiny-plots-in-jupyter-notebook/14770/7 "2018-09-12T13:46:15Z")

</div>

I started experimenting with NextJournal and experienced the same issue. I did see an error message about not finding libqt5widgets.so; not sure that is related…

---

<div class="post-metadata">

**Author:** ![jw3126](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jw3126/32/3086_2.png) [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Post date:** [September 21, 2018, 2:35pm UTC](https://discourse.julialang.org/t/plots-jl-tiny-plots-in-jupyter-notebook/14770/8 "2018-09-21T14:35:50Z")

</div>

I currently use the following workaround:

```julia
gr(size=(500,500), html_output_format=:png)

```

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [September 21, 2018, 3:03pm UTC](https://discourse.julialang.org/t/plots-jl-tiny-plots-in-jupyter-notebook/14770/9 "2018-09-21T15:03:20Z")

</div>

There’s a related issue in Juno: [GR plots inside Atom really small](https://github.com/jheinen/GR.jl/issues/153)

The workaround doesn’t help me (in Juno) unfortunately…

---

<div class="post-metadata">

**Author:** ![dpsanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dpsanders/32/3573_2.png) [@dpsanders](https://discourse.julialang.org/u/dpsanders)\
**Post date:** [September 21, 2018, 3:03pm UTC](https://discourse.julialang.org/t/plots-jl-tiny-plots-in-jupyter-notebook/14770/10 "2018-09-21T15:03:23Z")

</div>

Did you also do

using PyPlot

? Just remove this, if so.

---

<div class="post-metadata">

**Author:** ![microgold](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/microgold/32/5404_2.png) [@microgold](https://discourse.julialang.org/u/microgold)\
**Post date:** [September 23, 2018, 4:49am UTC](https://discourse.julialang.org/t/plots-jl-tiny-plots-in-jupyter-notebook/14770/11 "2018-09-23T04:49:58Z")

</div>

The html\_output\_format setting was the only workaround that worked for me using gr in Jupyter (suggested by jw3126). I was seeing the same behavior in IJulia, until I tried this. Previously my fonts were extremely small in the plot and setting them did not do anything.

---

<div class="post-metadata">

**Author:** ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Post date:** [June 2, 2021, 3:35pm UTC](https://discourse.julialang.org/t/plots-jl-tiny-plots-in-jupyter-notebook/14770/12 "2021-06-02T15:35:01Z")

</div>

2 posts were split to a new topic: [Plots.jl tiny plots in Jupyter](https://discourse.julialang.org/t/plots-jl-tiny-plots-in-jupyter/62281)
