# SO bounty for resizing plots in Jupyter

**URL:** https://discourse.julialang.org/t/so-bounty-for-resizing-plots-in-jupyter/22348
**Category:** New to Julia
**Created:** [March 26, 2019, 11:52am UTC](https://discourse.julialang.org/t/so-bounty-for-resizing-plots-in-jupyter/22348 "2019-03-26T11:52:52Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)
#### Post date: [March 26, 2019, 11:52am UTC](https://discourse.julialang.org/t/so-bounty-for-resizing-plots-in-jupyter/22348/1 "2019-03-26T11:52:52Z")

</div>

I have put a 50 points bounty on resizing plots on Jupyter. The question was posted in 2017, and it seems possible with Python. So looking for a Julia solution

See [Resizing plots in the Julia kernel for Jupyter notebooks - Stack Overflow](https://stackoverflow.com/questions/43750428/resizing-plots-in-the-julia-kernel-for-jupyter-notebooks)

---

<div class="post-metadata">

### Author: ![mauro3](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mauro3/32/292_2.png) [@mauro3](https://discourse.julialang.org/u/mauro3)
#### Post date: [March 26, 2019, 12:28pm UTC](https://discourse.julialang.org/t/so-bounty-for-resizing-plots-in-jupyter/22348/2 "2019-03-26T12:28:54Z")

</div>

`plot(1:5, size=(1000,1000))` works for me in Plots.jl (albeit tested in Julia 0.6).

---

<div class="post-metadata">

### Author: ![angelv](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/angelv/32/133_2.png) [@angelv](https://discourse.julialang.org/u/angelv)
#### Post date: [March 26, 2019, 12:52pm UTC](https://discourse.julialang.org/t/so-bounty-for-resizing-plots-in-jupyter/22348/3 "2019-03-26T12:52:05Z")

</div>

Tested here with Julia 1.1.0. No problems either.

---

<div class="post-metadata">

### Author: ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)
#### Post date: [March 26, 2019, 12:54pm UTC](https://discourse.julialang.org/t/so-bounty-for-resizing-plots-in-jupyter/22348/4 "2019-03-26T12:54:36Z")

</div>

Can someone post on SO for the bounty

---

<div class="post-metadata">

### Author: ![hckr](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hckr/32/4836_2.png) [@hckr](https://discourse.julialang.org/u/hckr)
#### Post date: [March 26, 2019, 1:11pm UTC](https://discourse.julialang.org/t/so-bounty-for-resizing-plots-in-jupyter/22348/5 "2019-03-26T13:11:10Z")

</div>

I do not think there really is a need for a different answer. The answer is there for `Plots.jl`, for which the OP said it does not work. The OP already knows how to set width and height in Vega.

The OP probably has (had) a problem with Jupyter installation or browser. Recently, someone from JuliaDynamics asked a similar question on Slack `plotting` channel that the size cannot be set (always too small) in Jupyter. All he had to do to solve the problem eventually was to click on the image of the plot once.

---

<div class="post-metadata">

### Author: ![randyzwitch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/randyzwitch/32/15955_2.png) [@randyzwitch](https://discourse.julialang.org/u/randyzwitch)
#### Post date: [March 26, 2019, 1:15pm UTC](https://discourse.julialang.org/t/so-bounty-for-resizing-plots-in-jupyter/22348/6 "2019-03-26T13:15:14Z")

</div>

As the maintainer (of the currently defunct Vega.jl):

[https://stackoverflow.com/a/55358081/2394542](https://stackoverflow.com/a/55358081/2394542)

Not sure what issues the poster was having, just downloaded julia 0.6 and Vega 0.8 and it worked.

---

<div class="post-metadata">

### Author: ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)
#### Post date: [March 27, 2019, 9:32am UTC](https://discourse.julialang.org/t/so-bounty-for-resizing-plots-in-jupyter/22348/7 "2019-03-27T09:32:25Z")

</div>

Actually, I tried the `default(szie=(1000,300))` but it works on [Juliabox.com](http://Juliabox.com) but doesn’t work offline on my Windows machine.
