# Pluto

**URL:** https://discourse.julialang.org/c/tools/pluto/58.md?page=6

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 7

---

## [How does Pluto decide what to show graphically?](https://discourse.julialang.org/t/how-does-pluto-decide-what-to-show-graphically/58033)

<div class="topic-metadata">

**Author:** [@rpmuller](https://discourse.julialang.org/u/rpmuller)\
**Replies:** 15\
**Last updated:** [August 29, 2021, 2:31pm UTC](https://discourse.julialang.org/t/how-does-pluto-decide-what-to-show-graphically/58033 "2021-08-29T14:31:25Z")

</div>

I’m having fun writing all my code in Pluto, and I’d like to add some graphical bells and whistles. In Python/Jupyter, I’ve done this by overloading repr\_html or repr\_svg. Is there something similar in Julia? I see as\_ht…

---

## [Pluto plot layout for a figure with 4 rows and one column](https://discourse.julialang.org/t/pluto-plot-layout-for-a-figure-with-4-rows-and-one-column/67049)

<div class="topic-metadata">

**Author:** [@kumarbalachandran](https://discourse.julialang.org/u/kumarbalachandran)\
**Replies:** 0\
**Last updated:** [August 26, 2021, 4:35pm UTC](https://discourse.julialang.org/t/pluto-plot-layout-for-a-figure-with-4-rows-and-one-column/67049 "2021-08-26T16:35:25Z")

</div>

Hi I am using layout=(4,1) to place subplots from Plots.jl, but the y axis gets compressed for a fixed plot height on screen within a Pluto notebook. Is there some way of expanding the height of the plot canvas so that …

---

## [Pluto - Is possible to Auto Numbering for Headings?](https://discourse.julialang.org/t/pluto-is-possible-to-auto-numbering-for-headings/66504)

<div class="topic-metadata">

**Author:** [@eduardovrs](https://discourse.julialang.org/u/eduardovrs)\
**Replies:** 4\
**Last updated:** [August 24, 2021, 8:17pm UTC](https://discourse.julialang.org/t/pluto-is-possible-to-auto-numbering-for-headings/66504 "2021-08-24T20:17:27Z")

</div>

Is it possible that Pluto or PlutoUI automatically number the headings? I tried something like this post AutoNumbering, but only work is all text is in one cell. Thank you in advance for the help! Eduardo

---

## [\`try/catch\` statements in Pluto](https://discourse.julialang.org/t/try-catch-statements-in-pluto/66835)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 5\
**Last updated:** [August 24, 2021, 6:25am UTC](https://discourse.julialang.org/t/try-catch-statements-in-pluto/66835 "2021-08-24T06:25:33Z")

</div>

EDIT: There was no problem, I was simply not aware that a try/catch statement introduces a local scope. Pluto and reactivity are solid \<3 By using a try/catch statement in a pluto notebook, I can define a variable test …

---

## [@test in Pluto](https://discourse.julialang.org/t/test-in-pluto/66831)

<div class="topic-metadata">

**Author:** [@dpinol](https://discourse.julialang.org/u/dpinol)\
**Replies:** 4\
**Last updated:** [August 23, 2021, 2:48pm UTC](https://discourse.julialang.org/t/test-in-pluto/66831 "2021-08-23T14:48:53Z")

</div>

Hi has anybody tried to use @test from Pluto? I run into issues with both Pluto & PlutoTest thanks

---

## [Updating packages' version in a pluto notebook](https://discourse.julialang.org/t/updating-packages-version-in-a-pluto-notebook/66705)

<div class="topic-metadata">

**Author:** [@gianmariomanca](https://discourse.julialang.org/u/gianmariomanca)\
**Replies:** 1\
**Last updated:** [August 20, 2021, 4:50pm UTC](https://discourse.julialang.org/t/updating-packages-version-in-a-pluto-notebook/66705 "2021-08-20T16:50:49Z")

</div>

I was initially skeptical of Pluto’s package management (slowed down things for me) until I had to share a complex Pluto notebook with a colleague the afternoon before leaving for a trip. With a quick call he was able to…

---

## [Issue with ModelingToolkit in Pluto](https://discourse.julialang.org/t/issue-with-modelingtoolkit-in-pluto/60517)

<div class="topic-metadata">

**Author:** [@Jon\_Norberg](https://discourse.julialang.org/u/Jon_Norberg)\
**Replies:** 14\
**Last updated:** [August 19, 2021, 6:33pm UTC](https://discourse.julialang.org/t/issue-with-modelingtoolkit-in-pluto/60517 "2021-08-19T18:33:53Z")

</div>

I get the following error for initialising variables. the code runs fine in the terminal and in vscode using the same Julia instance. Any ideas what this could be?

---

## [Read-only pluto notebook with functional PlutoUI?](https://discourse.julialang.org/t/read-only-pluto-notebook-with-functional-plutoui/66563)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 4\
**Last updated:** [August 17, 2021, 9:42pm UTC](https://discourse.julialang.org/t/read-only-pluto-notebook-with-functional-plutoui/66563 "2021-08-17T21:42:45Z")

</div>

Is it possible to run a pluto notebook in read-only mode? I.e. make it impossible to edit the cells. But at the same time have PlutoUI elements still functional, so that you can update computed results.

---

## [Idiomatic Pluto flow control](https://discourse.julialang.org/t/idiomatic-pluto-flow-control/66418)

<div class="topic-metadata">

**Author:** [@dcgrigsby](https://discourse.julialang.org/u/dcgrigsby)\
**Replies:** 1\
**Last updated:** [August 15, 2021, 2:27pm UTC](https://discourse.julialang.org/t/idiomatic-pluto-flow-control/66418 "2021-08-15T14:27:52Z")

</div>

I’d like some advice on how to idiomatically use flow control with Pluto. Here is a minimal example in pseudo code. Let’s say I want to do conditional evaluation. Here’s bare pseudo code of what I’m after that I’d use…

---

## [Pluto plots with PlotlyBase/PlotlyJS with working static html export](https://discourse.julialang.org/t/pluto-plots-with-plotlybase-plotlyjs-with-working-static-html-export/61730)

<div class="topic-metadata">

**Author:** [@disberd](https://discourse.julialang.org/u/disberd)\
**Replies:** 35\
**Last updated:** [August 8, 2021, 4:51pm UTC](https://discourse.julialang.org/t/pluto-plots-with-plotlybase-plotlyjs-with-working-static-html-export/61730 "2021-08-08T16:51:49Z")

</div>

Hi everyone, I recently wanted to use PlotlyJS directly in Pluto and still be able to view the plots in the static html export. I just managed to somehow do that and wanted to post the procedure here to get feedback an…

---

## [Multiple plots created in loop](https://discourse.julialang.org/t/multiple-plots-created-in-loop/65588)

<div class="topic-metadata">

**Author:** [@KrOstir](https://discourse.julialang.org/u/KrOstir)\
**Replies:** 5\
**Last updated:** [August 1, 2021, 8:15am UTC](https://discourse.julialang.org/t/multiple-plots-created-in-loop/65588 "2021-08-01T08:15:21Z")

</div>

I would like to create multiple plots in a loop within Pluto. The question is related to Plot inside a loop again\[, but now in Pluto\]. This works as expected in Jupyter, but not in Pluto. using Plots for i in 1:3 …

---

## [Tilted slider](https://discourse.julialang.org/t/tilted-slider/63600)

<div class="topic-metadata">

**Author:** [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Replies:** 2\
**Last updated:** [June 27, 2021, 6:48am UTC](https://discourse.julialang.org/t/tilted-slider/63600 "2021-06-27T06:48:31Z")

</div>

I have seen funny layouts in Pluto, with tilted scroll bars etc. So I wonder if it would be possible to make a Pluto notebook with a range slider that is not vertical or horizontal, but tilted 45 degrees next to a plot. …

---

## [Pluto Pages on gitlab](https://discourse.julialang.org/t/pluto-pages-on-gitlab/62837)

<div class="topic-metadata">

**Author:** [@alvarmaciel](https://discourse.julialang.org/u/alvarmaciel)\
**Replies:** 13\
**Last updated:** [June 26, 2021, 8:17am UTC](https://discourse.julialang.org/t/pluto-pages-on-gitlab/62837 "2021-06-26T08:17:57Z")

</div>

Hi, to all. Is there a way to make Pluto pages on gitlab? I know the github procedure. But I want to move to Gitlab and I really don’t know if this is possible. I’m not really an expert on this. Thanks

---

## [OpenStreetMaps in Pluto](https://discourse.julialang.org/t/openstreetmaps-in-pluto/63476)

<div class="topic-metadata">

**Author:** [@Rajith\_Vidanaarachch](https://discourse.julialang.org/u/Rajith_Vidanaarachch)\
**Replies:** 1\
**Last updated:** [June 24, 2021, 5:14am UTC](https://discourse.julialang.org/t/openstreetmaps-in-pluto/63476 "2021-06-24T05:14:12Z")

</div>

Is it possible to use OpenStreetMaps in Pluto yet? (through OpenStreetMapsX.jl package?) Thanks!

---

## [How to merge multiple Pluto notebooks into one?](https://discourse.julialang.org/t/how-to-merge-multiple-pluto-notebooks-into-one/62806)

<div class="topic-metadata">

**Author:** [@SymKo](https://discourse.julialang.org/u/SymKo)\
**Replies:** 4\
**Last updated:** [June 22, 2021, 11:00pm UTC](https://discourse.julialang.org/t/how-to-merge-multiple-pluto-notebooks-into-one/62806 "2021-06-22T23:00:53Z")

</div>

Hello Everyone, it is possible to merge multiple Pluto notebooks into one and edit it? How can I do that? Thanks for answers

---

## [How to fit Pluto.jl output cell to DataFrame](https://discourse.julialang.org/t/how-to-fit-pluto-jl-output-cell-to-dataframe/57125)

<div class="topic-metadata">

**Author:** [@jonasjonker](https://discourse.julialang.org/u/jonasjonker)\
**Replies:** 5\
**Last updated:** [June 22, 2021, 1:18pm UTC](https://discourse.julialang.org/t/how-to-fit-pluto-jl-output-cell-to-dataframe/57125 "2021-06-22T13:18:27Z")

</div>

When I display a DataFrame in Pluto.jl a scrollbar appears. Does somebody know how to make my output cell bigger/fit my dataframe?

---

## [How to avoid printing "Edit or run this notebook" button?](https://discourse.julialang.org/t/how-to-avoid-printing-edit-or-run-this-notebook-button/63019)

<div class="topic-metadata">

**Author:** [@runjaj](https://discourse.julialang.org/u/runjaj)\
**Replies:** 0\
**Last updated:** [June 16, 2021, 2:16pm UTC](https://discourse.julialang.org/t/how-to-avoid-printing-edit-or-run-this-notebook-button/63019 "2021-06-16T14:16:40Z")

</div>

I export a Pluto notebook as a static html file and everything is fine. Then, I want to print the file but it gets the “Edit or run notebook” button. Is there any way to remove it? Solved (June 17, 2021): I have just fo…

---

## [How to create a colored box in Julia Pluto, like in the picture](https://discourse.julialang.org/t/how-to-create-a-colored-box-in-julia-pluto-like-in-the-picture/62203)

<div class="topic-metadata">

**Author:** [@Izzani\_Nizam](https://discourse.julialang.org/u/Izzani_Nizam)\
**Replies:** 4\
**Last updated:** [June 14, 2021, 10:02pm UTC](https://discourse.julialang.org/t/how-to-create-a-colored-box-in-julia-pluto-like-in-the-picture/62203 "2021-06-14T22:02:32Z")

</div>

---

## [How to use Pluto with DrWatson effectively?](https://discourse.julialang.org/t/how-to-use-pluto-with-drwatson-effectively/61582)

<div class="topic-metadata">

**Author:** [@amit1](https://discourse.julialang.org/u/amit1)\
**Replies:** 5\
**Last updated:** [June 11, 2021, 12:50pm UTC](https://discourse.julialang.org/t/how-to-use-pluto-with-drwatson-effectively/61582 "2021-06-11T12:50:06Z")

</div>

I would like to use Pkg, DrWatson and Pluto notebooks as my main workflow. However I am not able to understand how to effectively use it. Mostly every notebook i open it takes about a min to load libraries. For example d…

---

## [Using PokeApi in Pluto](https://discourse.julialang.org/t/using-pokeapi-in-pluto/62295)

<div class="topic-metadata">

**Author:** [@alvarmaciel](https://discourse.julialang.org/u/alvarmaciel)\
**Replies:** 2\
**Last updated:** [June 3, 2021, 11:17am UTC](https://discourse.julialang.org/t/using-pokeapi-in-pluto/62295 "2021-06-03T11:17:20Z")

</div>

Hi to all, I’ve wondering if there is a way or a proper way to use the PokeApi in Julia, specifically in Pluto. If there is, can you give me some hints to investigate. Thanks!

---

## [Setting the value of an input](https://discourse.julialang.org/t/setting-the-value-of-an-input/62248)

<div class="topic-metadata">

**Author:** [@scotts](https://discourse.julialang.org/u/scotts)\
**Replies:** 0\
**Last updated:** [June 2, 2021, 4:43am UTC](https://discourse.julialang.org/t/setting-the-value-of-an-input/62248 "2021-06-02T04:43:21Z")

</div>

Ok, this seems like a really simple question but I’m stuck. How do I set the value of PlutoUI select input programmatically, based on the value of another select input So for example, I have inputs: begin Rots = \["WC"…

---

## [Developing Julia modules with Pluto](https://discourse.julialang.org/t/developing-julia-modules-with-pluto/61862)

<div class="topic-metadata">

**Author:** [@Ngoc-Duc](https://discourse.julialang.org/u/Ngoc-Duc)\
**Replies:** 3\
**Last updated:** [May 27, 2021, 8:04am UTC](https://discourse.julialang.org/t/developing-julia-modules-with-pluto/61862 "2021-05-27T08:04:25Z")

</div>

I noticed that in pluto notebooks, there are always 2 imported packages: Markdown and InteractiveUtils. But if we want to use those notebooks as modules, we really dont need them at all. Why they are not commented like t…

---

## [How do I populate select dropdown from an array of strings?](https://discourse.julialang.org/t/how-do-i-populate-select-dropdown-from-an-array-of-strings/61757)

<div class="topic-metadata">

**Author:** [@scotts](https://discourse.julialang.org/u/scotts)\
**Replies:** 2\
**Last updated:** [May 25, 2021, 11:51am UTC](https://discourse.julialang.org/t/how-do-i-populate-select-dropdown-from-an-array-of-strings/61757 "2021-05-25T11:51:42Z")

</div>

I have an array of strings that I want to use to populate an input select dropdown element in Pluto. Without any detailed documentation I’ve been really struggling. So far, I have found only one way to create the dropdo…

---

## ["Next" and "Previous" Buttons in Pluto](https://discourse.julialang.org/t/next-and-previous-buttons-in-pluto/61363)

<div class="topic-metadata">

**Author:** [@Jakob](https://discourse.julialang.org/u/Jakob)\
**Replies:** 6\
**Last updated:** [May 24, 2021, 8:37am UTC](https://discourse.julialang.org/t/next-and-previous-buttons-in-pluto/61363 "2021-05-24T08:37:51Z")

</div>

Hi all, I’d like to set an array index with a simple widget in Pluto via @bind but instead of a slider I’d like to use “next” and “previous” buttons. Does anyone know how to do that?

---

## [Can i convert pluto.jl file into progressive web app(pwa)?](https://discourse.julialang.org/t/can-i-convert-pluto-jl-file-into-progressive-web-app-pwa/61703)

<div class="topic-metadata">

**Author:** [@Ravinder\_Ram](https://discourse.julialang.org/u/Ravinder_Ram)\
**Replies:** 0\
**Last updated:** [May 24, 2021, 3:57am UTC](https://discourse.julialang.org/t/can-i-convert-pluto-jl-file-into-progressive-web-app-pwa/61703 "2021-05-24T03:57:50Z")

</div>

i want to know how add javascript to pluto.jl and make user interface like a gradio in python and pwa?

---

## [Modify right margin in Pluto notebook](https://discourse.julialang.org/t/modify-right-margin-in-pluto-notebook/61452)

<div class="topic-metadata">

**Author:** [@disberd](https://discourse.julialang.org/u/disberd)\
**Replies:** 2\
**Last updated:** [May 19, 2021, 4:32pm UTC](https://discourse.julialang.org/t/modify-right-margin-in-pluto-notebook/61452 "2021-05-19T16:32:00Z")

</div>

Hi, I wanted to modify the right margin of pluto notebook cells as if I increase the cell width like suggested in This other topic and then reduce the browser window size, the right margin makes my cell go out of the vi…

---

## [Markdown cells in Pluto](https://discourse.julialang.org/t/markdown-cells-in-pluto/60948)

<div class="topic-metadata">

**Author:** [@Iagoba\_Apellaniz](https://discourse.julialang.org/u/Iagoba_Apellaniz)\
**Replies:** 9\
**Last updated:** [May 19, 2021, 1:09am UTC](https://discourse.julialang.org/t/markdown-cells-in-pluto/60948 "2021-05-19T01:09:25Z")

</div>

Hello! I think this could be a nice feature: be able to make some cells md cells. The idea is the following: Click to button next to the “fold” button Then the code is wrapped by md"""\<your code\>""", as with Ctrl-M. …

---

## [Pluto.run() to open a specific notebook](https://discourse.julialang.org/t/pluto-run-to-open-a-specific-notebook/61071)

<div class="topic-metadata">

**Author:** [@maajdl](https://discourse.julialang.org/u/maajdl)\
**Replies:** 2\
**Last updated:** [May 13, 2021, 11:55am UTC](https://discourse.julialang.org/t/pluto-run-to-open-a-specific-notebook/61071 "2021-05-13T11:55:55Z")

</div>

I could not find out how to open a specific notebook instead of just starting the server. Is that possible? Thanks Michel

---

## [Animated plot](https://discourse.julialang.org/t/animated-plot/60729)

<div class="topic-metadata">

**Author:** [@ZettEff](https://discourse.julialang.org/u/ZettEff)\
**Replies:** 4\
**Last updated:** [May 10, 2021, 3:08pm UTC](https://discourse.julialang.org/t/animated-plot/60729 "2021-05-10T15:08:33Z")

</div>

I have two objects that I want to plot in an interactive graph. bar: is controlled via PlutoUI.Slider which can change the x position square: shall move around irrespective of the bar movement. For the below MVP the sq…

---

## [Dynamically Create UI Elements](https://discourse.julialang.org/t/dynamically-create-ui-elements/60459)

<div class="topic-metadata">

**Author:** [@MLackner](https://discourse.julialang.org/u/MLackner)\
**Replies:** 0\
**Last updated:** [May 3, 2021, 12:11pm UTC](https://discourse.julialang.org/t/dynamically-create-ui-elements/60459 "2021-05-03T12:11:27Z")

</div>

Hi! I wonder if there’s a way to dynamically create UI elements like sliders. This would be helpful in the following use case: Assume you want to plot a polynomial and you want to let the user decide which degree N it …

[Previous page](https://discourse.julialang.org/c/tools/pluto/58.md?page=5)

[Next page](https://discourse.julialang.org/c/tools/pluto/58.md?page=7)
