# Visualization

**URL:** https://discourse.julialang.org/c/domain/viz/17.md?page=1

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

**Page:** 2

---

## [More Barplots](https://discourse.julialang.org/t/more-barplots/137117)

<div class="topic-metadata">

**Author:** [@Mervyn\_Larrier](https://discourse.julialang.org/u/Mervyn_Larrier)\
**Replies:** 10\
**Last updated:** [May 15, 2026, 11:02am UTC](https://discourse.julialang.org/t/more-barplots/137117 "2026-05-15T11:02:03Z")

</div>

Hi all. Round two of figuring out bar plots in Makie. Given the data, I would like to plot one set of data and then stack the other data on top of it. In my last question, my issue was resolved with the n\_dodge attribute…

---

## [Makie Bar Plots](https://discourse.julialang.org/t/makie-bar-plots/137098)

<div class="topic-metadata">

**Author:** [@Mervyn\_Larrier](https://discourse.julialang.org/u/Mervyn_Larrier)\
**Replies:** 3\
**Last updated:** [May 13, 2026, 4:50pm UTC](https://discourse.julialang.org/t/makie-bar-plots/137098 "2026-05-13T16:50:06Z")

</div>

I feel as though I’m probably missing something obvious, but there don’t seem to be a lot of examples for bar plots in Makie that don’t point you back towards AoG. How can I get these bars to be properly dodged? Here is …

---

## [Plots bug - arrows & xflip?](https://discourse.julialang.org/t/plots-bug-arrows-xflip/137024)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 2\
**Last updated:** [May 7, 2026, 7:44pm UTC](https://discourse.julialang.org/t/plots-bug-arrows-xflip/137024 "2026-05-07T19:44:23Z")

</div>

Consider: plot(sin; lw=2, xlim=\[0,2pi\],label="") plot!(\[(1,-0.5),(pi,0)\]; lw=2, lc=:red, arrow=arrow(:closed, :head, 2.0, 2.0), label="") providing (as expected): But if I flip the x axis, I get something “wrong”… …

---

## [Plots/GR & fill color of shapes?](https://discourse.julialang.org/t/plots-gr-fill-color-of-shapes/136993)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 0\
**Last updated:** [May 5, 2026, 4:18pm UTC](https://discourse.julialang.org/t/plots-gr-fill-color-of-shapes/136993 "2026-05-05T16:18:48Z")

</div>

I figured it out – it was a stupidity done by Google AI Studio… for some weird reason, it had added a rectangle on top of the white rectangle… Arrrrghhhh

---

## [Subplots and axis labels](https://discourse.julialang.org/t/subplots-and-axis-labels/136960)

<div class="topic-metadata">

**Author:** [@bernardofpc](https://discourse.julialang.org/u/bernardofpc)\
**Replies:** 1\
**Last updated:** [May 2, 2026, 1:37pm UTC](https://discourse.julialang.org/t/subplots-and-axis-labels/136960 "2026-05-02T13:37:26Z")

</div>

I’ve been using Plots.jl for some time, but never managed to figure out the correct way of producing a figure with subplots and axis labels. In most cases, it seems axis labels are positioned outside of the plot area, a…

---

## [How to update Makie.jl plot based on ComputeGraph?](https://discourse.julialang.org/t/how-to-update-makie-jl-plot-based-on-computegraph/136730)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 12\
**Last updated:** [April 29, 2026, 8:29pm UTC](https://discourse.julialang.org/t/how-to-update-makie-jl-plot-based-on-computegraph/136730 "2026-04-29T20:29:18Z")

</div>

I am using the ComputeGraph feature of Makie.jl for the first time. After adding widgets (observables) as nodes in the graph, I also added nodes for the plot objects: # initialize scene with elements # that do not depen…

---

## [Makie: how to add some gap to the right end of a figure?](https://discourse.julialang.org/t/makie-how-to-add-some-gap-to-the-right-end-of-a-figure/136907)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 5\
**Last updated:** [April 29, 2026, 9:08am UTC](https://discourse.julialang.org/t/makie-how-to-add-some-gap-to-the-right-end-of-a-figure/136907 "2026-04-29T09:08:39Z")

</div>

I have a figure that is composed of two columns. Each column is itself a GridLayout. I am having the problem that on the right end of the figure, the axes labels go over the figure boundary: How do I fix this? I don’t…

---

## [Modify axis options when using Plots.jl with pgfplotsx backend](https://discourse.julialang.org/t/modify-axis-options-when-using-plots-jl-with-pgfplotsx-backend/121292)

<div class="topic-metadata">

**Author:** [@lcm](https://discourse.julialang.org/u/lcm)\
**Replies:** 3\
**Last updated:** [April 26, 2026, 4:31pm UTC](https://discourse.julialang.org/t/modify-axis-options-when-using-plots-jl-with-pgfplotsx-backend/121292 "2026-04-26T16:31:33Z")

</div>

I am using Plots.jl with the pgfplotsx() backend for emitting .tikz files. Together with the tikzscale LaTeX package this makes for nice plots for a TeX document. However, in the emitted plots there are a lot of options…

---

## [Makie: WGLMakie after reverse proxy (nginx)](https://discourse.julialang.org/t/makie-wglmakie-after-reverse-proxy-nginx/136847)

<div class="topic-metadata">

**Author:** [@dmolina](https://discourse.julialang.org/u/dmolina)\
**Replies:** 6\
**Last updated:** [April 24, 2026, 9:45am UTC](https://discourse.julialang.org/t/makie-wglmakie-after-reverse-proxy-nginx/136847 "2026-04-24T09:45:06Z")

</div>

Dear all, I have a notebook in Pluto/PlutoSliderServer with several interactive graphics in a server for my students. My previous version was using Plots, but it was awfully slow, so I decided to try the WGLMakie and Ob…

---

## [Makie: how to make plotted elements be exactly up to figure edges](https://discourse.julialang.org/t/makie-how-to-make-plotted-elements-be-exactly-up-to-figure-edges/136750)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 3\
**Last updated:** [April 17, 2026, 5:56pm UTC](https://discourse.julialang.org/t/makie-how-to-make-plotted-elements-be-exactly-up-to-figure-edges/136750 "2026-04-17T17:56:25Z")

</div>

This is the figure I am producing: but I want the left side of the plotted elements go up to exactly the very last pixel of the figure. I am not able to figure out how to achieve that. I am doing: t = 0:100 x = cos.…

---

## [Update observables only when slider is released](https://discourse.julialang.org/t/update-observables-only-when-slider-is-released/136742)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 2\
**Last updated:** [April 17, 2026, 11:55am UTC](https://discourse.julialang.org/t/update-observables-only-when-slider-is-released/136742 "2026-04-17T11:55:39Z")

</div>

For expensive computations, how can we slide on a Slider without triggering all intermediate values? One workaround is to add a separate Toggle to turn the computation on/off, but that adds unnecessary logic to the appli…

---

## [\`legend\_groupclick = "toggleitem"\` doesn't seem to work in PlotlyJS](https://discourse.julialang.org/t/legend-groupclick-toggleitem-doesnt-seem-to-work-in-plotlyjs/76851)

<div class="topic-metadata">

**Author:** [@Mo-Gul](https://discourse.julialang.org/u/Mo-Gul)\
**Replies:** 5\
**Last updated:** [April 16, 2026, 3:19pm UTC](https://discourse.julialang.org/t/legend-groupclick-toggleitem-doesnt-seem-to-work-in-plotlyjs/76851 "2026-04-16T15:19:48Z")

</div>

Currently legend\_groupclick="toggleitem" doesn’t seem to work as can be tested in the result of using PlotlyJS function getData() x = range(start=0, stop=10, length=101) y1 = sin.(x) y2 = sin.(x) .- 0.1 …

---

## [How to change the default colors of a series in Makie](https://discourse.julialang.org/t/how-to-change-the-default-colors-of-a-series-in-makie/136738)

<div class="topic-metadata">

**Author:** [@xor0110](https://discourse.julialang.org/u/xor0110)\
**Replies:** 0\
**Last updated:** [April 16, 2026, 12:54pm UTC](https://discourse.julialang.org/t/how-to-change-the-default-colors-of-a-series-in-makie/136738 "2026-04-16T12:54:00Z")

</div>

I’ve found some information about using set\_theme!, but it’s still not clear to me what to do and I would love to find a code snippet. How do I change the default colors used to plot a series in Makie?

---

## [Radiobuttons and checkboxes in Makie](https://discourse.julialang.org/t/radiobuttons-and-checkboxes-in-makie/95017)

<div class="topic-metadata">

**Author:** [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Replies:** 8\
**Last updated:** [April 16, 2026, 10:41am UTC](https://discourse.julialang.org/t/radiobuttons-and-checkboxes-in-makie/95017 "2026-04-16T10:41:44Z")

</div>

How could I create radiobuttons and checkboxes in Makie?

---

## [Ribbon opacity when plotting multiple line in Plots.jl](https://discourse.julialang.org/t/ribbon-opacity-when-plotting-multiple-line-in-plots-jl/136643)

<div class="topic-metadata">

**Author:** [@silveedee](https://discourse.julialang.org/u/silveedee)\
**Replies:** 4\
**Last updated:** [April 13, 2026, 1:18pm UTC](https://discourse.julialang.org/t/ribbon-opacity-when-plotting-multiple-line-in-plots-jl/136643 "2026-04-13T13:18:34Z")

</div>

I have some lines I’m plotting that I want to add error bars too. Here’s an approximation of my data, and my first attempt to plot these lines with error bars s = 1:10:101 r = 0.0:0.1:1 rand\_error=rand(5:10,(11,11)) …

---

## [Makie menu and toggle color do not update when observable is changed](https://discourse.julialang.org/t/makie-menu-and-toggle-color-do-not-update-when-observable-is-changed/136626)

<div class="topic-metadata">

**Author:** [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Replies:** 1\
**Last updated:** [April 9, 2026, 3:01pm UTC](https://discourse.julialang.org/t/makie-menu-and-toggle-color-do-not-update-when-observable-is-changed/136626 "2026-04-09T15:01:20Z")

</div>

in the MWE below, the slider and checkbox both change from red to blue, but the menu only does so if you then subsequently hover over it, and the toggle only if you toggle back and forth. i would’ve expected this to jus…

---

## [Makie/Observable: \`@lift\` and type](https://discourse.julialang.org/t/makie-observable-lift-and-type/136597)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 3\
**Last updated:** [April 7, 2026, 4:20pm UTC](https://discourse.julialang.org/t/makie-observable-lift-and-type/136597 "2026-04-07T16:20:01Z")

</div>

Basically, I want to write my plotting functions in such a way that they work whether the arrays to be plotted are Observables or not. This enables me to use my snapshot-producing functions in creating movies. For this…

---

## [How to add a secondary y-axis (right-side axis) for a waterfall plot in Makie?](https://discourse.julialang.org/t/how-to-add-a-secondary-y-axis-right-side-axis-for-a-waterfall-plot-in-makie/136458)

<div class="topic-metadata">

**Author:** [@arafune](https://discourse.julialang.org/u/arafune)\
**Replies:** 10\
**Last updated:** [April 2, 2026, 4:58am UTC](https://discourse.julialang.org/t/how-to-add-a-secondary-y-axis-right-side-axis-for-a-waterfall-plot-in-makie/136458 "2026-04-02T04:58:06Z")

</div>

Hi everyone, I am trying to create a waterfall plot (stacked line plot) in Makie.jl as shown in the attached image (Fig1.jpg). I already know how to apply offsets to the lines to create the waterfall effect. However, I…

---

## [PythonPlot not showing anything](https://discourse.julialang.org/t/pythonplot-not-showing-anything/136478)

<div class="topic-metadata">

**Author:** [@Ferran\_Mazzanti](https://discourse.julialang.org/u/Ferran_Mazzanti)\
**Replies:** 5\
**Last updated:** [April 1, 2026, 12:39pm UTC](https://discourse.julialang.org/t/pythonplot-not-showing-anything/136478 "2026-04-01T12:39:36Z")

</div>

Hi, I’ve just installed julia 1.12.5 on a new ubuntu box. First thing I tried was to install PythonPlot, and then on the repl using PythonPlot plot(rand(1000),randn(1000)) displays nothing at all. In old Pyplot.jl th…

---

## [Interactive line plots in documentation](https://discourse.julialang.org/t/interactive-line-plots-in-documentation/135537)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 9\
**Last updated:** [April 1, 2026, 5:15am UTC](https://discourse.julialang.org/t/interactive-line-plots-in-documentation/135537 "2026-04-01T05:15:16Z")

</div>

What are options for embedding interactive line plots in a Documenter.jl page? I think it has to be some kind of JS. Export HTML with Bokeh.jl and embed it via an iframe. Bokeh.doc\_standalone\_html Export HTML with Plo…

---

## [PythonPlot.streamplot error](https://discourse.julialang.org/t/pythonplot-streamplot-error/136365)

<div class="topic-metadata">

**Author:** [@Wen-Wei\_Tseng](https://discourse.julialang.org/u/Wen-Wei_Tseng)\
**Replies:** 2\
**Last updated:** [March 31, 2026, 8:56am UTC](https://discourse.julialang.org/t/pythonplot-streamplot-error/136365 "2026-03-31T08:56:52Z")

</div>

Hello, I was trying to generate a stream plot using PythonPlot.jl like this example: Julia\_Examples/pyplot\_streamplot.jl at master · gizmaa/Julia\_Examples · GitHub However, I was encounter an error while running the fol…

---

## [Makie Precompilation failed in Linux](https://discourse.julialang.org/t/makie-precompilation-failed-in-linux/136368)

<div class="topic-metadata">

**Author:** [@henry2004y](https://discourse.julialang.org/u/henry2004y)\
**Replies:** 4\
**Last updated:** [March 24, 2026, 9:28pm UTC](https://discourse.julialang.org/t/makie-precompilation-failed-in-linux/136368 "2026-03-24T21:28:54Z")

</div>

Hi, Starting this morning, when I test my package on Linux that relies on packages with Makie extensions, precompilation fails with the following error messages: Precompiling for configuration --code-coverage=@/home/ru…

---

## [Change arrow head size in e.g. quiver plots](https://discourse.julialang.org/t/change-arrow-head-size-in-e-g-quiver-plots/109347)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 7\
**Last updated:** [March 24, 2026, 7:10am UTC](https://discourse.julialang.org/t/change-arrow-head-size-in-e-g-quiver-plots/109347 "2026-03-24T07:10:52Z")

</div>

I am trying to make a quiver plot using Plots. Unfortunatley, the heads of the arrows keeps being way to large for the plot to be usable. I have been trying various arguments to change this, but nothing seems to help. H…

---

## [Break axis in Makie](https://discourse.julialang.org/t/break-axis-in-makie/62729)

<div class="topic-metadata">

**Author:** [@Elmo](https://discourse.julialang.org/u/Elmo)\
**Replies:** 14\
**Last updated:** [March 23, 2026, 5:46pm UTC](https://discourse.julialang.org/t/break-axis-in-makie/62729 "2026-03-23T17:46:32Z")

</div>

Hi, I am pretty new to Makie, but I am loving the package so far! Is it possible to have a broken y-axis in Makie? E.g. I want to plot: xs1 = randn(10) ys1 = randn(10) xs2 = randn(10) .+ 3 ys2 = randn(10) .+ 10 fig = …

---

## [Box shadow in Makie](https://discourse.julialang.org/t/box-shadow-in-makie/136064)

<div class="topic-metadata">

**Author:** [@klafyvel](https://discourse.julialang.org/u/klafyvel)\
**Replies:** 5\
**Last updated:** [March 23, 2026, 12:01pm UTC](https://discourse.julialang.org/t/box-shadow-in-makie/136064 "2026-03-23T12:01:53Z")

</div>

Hi! I am a big fan of de-marking boxes from their background using box shadows. Is there a way to do that in Makie? Thanks for the help!

---

## [How to automatically choose legend location in Makie?](https://discourse.julialang.org/t/how-to-automatically-choose-legend-location-in-makie/136105)

<div class="topic-metadata">

**Author:** [@Abhro](https://discourse.julialang.org/u/Abhro)\
**Replies:** 5\
**Last updated:** [March 13, 2026, 1:23pm UTC](https://discourse.julialang.org/t/how-to-automatically-choose-legend-location-in-makie/136105 "2026-03-13T13:23:58Z")

</div>

When I plot a series with Makie and label it, how do I get axislegend to automatically pick the empty part of the axis to place the legend in to? Example: (don’t worry about the data source lol) Best explored in a Julia…

---

## [How to add padding to WGLMakie figure with resize\_to = :body](https://discourse.julialang.org/t/how-to-add-padding-to-wglmakie-figure-with-resize-to-body/135061)

<div class="topic-metadata">

**Author:** [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Replies:** 4\
**Last updated:** [March 10, 2026, 4:06pm UTC](https://discourse.julialang.org/t/how-to-add-padding-to-wglmakie-figure-with-resize-to-body/135061 "2026-03-10T16:06:02Z")

</div>

when i use resize\_to = :body when activating WGLMakie so that the figure fills the browser window no matter what the size, a DOM.div element i have at the bottom gets clipped. like this (“hi”) in the lower left: is …

---

## [Add newline to LaTeXString equation](https://discourse.julialang.org/t/add-newline-to-latexstring-equation/95104)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 10\
**Last updated:** [March 9, 2026, 2:07pm UTC](https://discourse.julialang.org/t/add-newline-to-latexstring-equation/95104 "2026-03-09T14:07:35Z")

</div>

Hello, I have a LaTeXString which is too long to fit in one page-width. How can I add a line break to the equation so that it fits? I tried to add a \\\\ in the middle, but that didn’t change the rendering at all. julia\> …

---

## [How to plot a unfilled histogram (stairs) in Makie?](https://discourse.julialang.org/t/how-to-plot-a-unfilled-histogram-stairs-in-makie/135977)

<div class="topic-metadata">

**Author:** [@Abhro](https://discourse.julialang.org/u/Abhro)\
**Replies:** 1\
**Last updated:** [March 3, 2026, 3:28am UTC](https://discourse.julialang.org/t/how-to-plot-a-unfilled-histogram-stairs-in-makie/135977 "2026-03-03T03:28:16Z")

</div>

If I have a pre-fiitted histogram, how would I plot an unfilled histogram with Makie.jl? I can use hist and stephist for the raw data, but I’m not sure what to do about a Histogram object from StatsBase.jl Example: usi…

---

## [Coloring individual tick labels in Makie](https://discourse.julialang.org/t/coloring-individual-tick-labels-in-makie/135750)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 4\
**Last updated:** [February 20, 2026, 1:18pm UTC](https://discourse.julialang.org/t/coloring-individual-tick-labels-in-makie/135750 "2026-02-20T13:18:45Z")

</div>

Is it possible to color individual labels in Makie? Example: fig, ax = scatter(1:5, 1:5) ax.xticks = 1:5 ax.xticklabelcolor = \[:white, :white, :red, :red, :white\] fig which errors. Context: I have this plot: and …

[Previous page](https://discourse.julialang.org/c/domain/viz/17.md)

[Next page](https://discourse.julialang.org/c/domain/viz/17.md?page=2)
