# Visualization

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

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

**Page:** 57

---

## [Julia Graphplot error "MethodError: no method matching get\_adjacency\_matrix(::SimpleDiGraph{Int64})"](https://discourse.julialang.org/t/julia-graphplot-error-methoderror-no-method-matching-get-adjacency-matrix-simpledigraph-int64/72890)

<div class="topic-metadata">

**Author:** [@ssjos](https://discourse.julialang.org/u/ssjos)\
**Replies:** 0\
**Last updated:** [December 10, 2021, 1:46pm UTC](https://discourse.julialang.org/t/julia-graphplot-error-methoderror-no-method-matching-get-adjacency-matrix-simpledigraph-int64/72890 "2021-12-10T13:46:22Z")

</div>

I am using the following code in Julia v1.6 to plot a graph: graphplot(network1, method=:chorddiagram, markersize=3, nodeshape=:rect, linecolor=:lightgrey) where network1 is a {56, 445} directed simple Int64 graph I a…

---

## [Can one set Configuration Options using PlotlyJS.jl?](https://discourse.julialang.org/t/can-one-set-configuration-options-using-plotlyjs-jl/40357)

<div class="topic-metadata">

**Author:** [@klaff](https://discourse.julialang.org/u/klaff)\
**Replies:** 8\
**Last updated:** [December 9, 2021, 8:28pm UTC](https://discourse.julialang.org/t/can-one-set-configuration-options-using-plotlyjs-jl/40357 "2021-12-09T20:28:21Z")

</div>

This plotly.com page describes configuration options, such as editable, displayModeBar, and displaylogo that I would like to try from Julia and PlotlyJS.jl. Is there a way to send those options? I’ve tried as keywords in…

---

## [How to fix GLMakie window while developing on VSCode?](https://discourse.julialang.org/t/how-to-fix-glmakie-window-while-developing-on-vscode/72772)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 0\
**Last updated:** [December 8, 2021, 1:52pm UTC](https://discourse.julialang.org/t/how-to-fix-glmakie-window-while-developing-on-vscode/72772 "2021-12-08T13:52:47Z")

</div>

There are few related questions on the forum but I couldn’t find the answer. Is there any option to fix the GLMakie window say to the right of the monitor and VSCode to the left so that whenever we run a new plot the win…

---

## [CairoMakie returning empty plots](https://discourse.julialang.org/t/cairomakie-returning-empty-plots/72581)

<div class="topic-metadata">

**Author:** [@hiraksarkar](https://discourse.julialang.org/u/hiraksarkar)\
**Replies:** 5\
**Last updated:** [December 6, 2021, 1:21pm UTC](https://discourse.julialang.org/t/cairomakie-returning-empty-plots/72581 "2021-12-06T13:21:24Z")

</div>

Hi, I am new to julia, I want plot a simple scatterplot from a dataframe where the colors are coded as String7 hexadecimal code, a snapshot, Row │ x y ncv\_color │ Int64 Int64 String7 ─────┼────────…

---

## [Makie: problem with line plots?](https://discourse.julialang.org/t/makie-problem-with-line-plots/72534)

<div class="topic-metadata">

**Author:** [@nchisholm](https://discourse.julialang.org/u/nchisholm)\
**Replies:** 5\
**Last updated:** [December 4, 2021, 5:39pm UTC](https://discourse.julialang.org/t/makie-problem-with-line-plots/72534 "2021-12-04T17:39:04Z")

</div>

I am encountering an issue with GLMakie where lines on plots are drawn incorrectly as shown below. Only tiny segments of the line appear. Strangely, the plot is rendered correctly the first time the plotting command is…

---

## [Moving a figure within given constraint](https://discourse.julialang.org/t/moving-a-figure-within-given-constraint/72558)

<div class="topic-metadata">

**Author:** [@mmkim1210](https://discourse.julialang.org/u/mmkim1210)\
**Replies:** 1\
**Last updated:** [December 4, 2021, 6:49am UTC](https://discourse.julialang.org/t/moving-a-figure-within-given-constraint/72558 "2021-12-04T06:49:53Z")

</div>

In the tutorial example (https://makie.juliaplots.org/stable/examples/layoutables/gridlayout/index.html#aspect), is there a way to move f\[1, 2\] to the left so that it aligns on the left with f\[2, 2\] rather than staying i…

---

## [WGLMakie messages on hover](https://discourse.julialang.org/t/wglmakie-messages-on-hover/72561)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 0\
**Last updated:** [December 4, 2021, 4:05am UTC](https://discourse.julialang.org/t/wglmakie-messages-on-hover/72561 "2021-12-04T04:05:51Z")

</div>

In VSCode, when I hover pointer over a WGLMakie figure, I get lots of messages like this. They go fast and continuously until a few seconds after the pointer leaves the figure area. I don’t like it because it scrolls awa…

---

## [Makie version of a simple bar graph howto](https://discourse.julialang.org/t/makie-version-of-a-simple-bar-graph-howto/72420)

<div class="topic-metadata">

**Author:** [@benibilme](https://discourse.julialang.org/u/benibilme)\
**Replies:** 6\
**Last updated:** [December 2, 2021, 9:22pm UTC](https://discourse.julialang.org/t/makie-version-of-a-simple-bar-graph-howto/72420 "2021-12-02T21:22:00Z")

</div>

Hello, I am trying to settle on plotting library. I looked into gadfly and very much like the syntax, but the documentation seems lacking, if I am not wrong, it lacks 3d, real time update features. I find makie docume…

---

## [Stat.xticks fails in presence of Geom.vband and Geom.line](https://discourse.julialang.org/t/stat-xticks-fails-in-presence-of-geom-vband-and-geom-line/72416)

<div class="topic-metadata">

**Author:** [@alan](https://discourse.julialang.org/u/alan)\
**Replies:** 1\
**Last updated:** [December 2, 2021, 1:57am UTC](https://discourse.julialang.org/t/stat-xticks-fails-in-presence-of-geom-vband-and-geom-line/72416 "2021-12-02T01:57:08Z")

</div>

Trying to make a plot that includes Geom.line, Geom.vband, and Stat.xticks. Without Stat.xticks, it works fine. When I add Stat.xticks, I get: “Error showing value of type Plot: ERROR: The following aesthetics are requi…

---

## [Which library for a Monte Carlo web app?](https://discourse.julialang.org/t/which-library-for-a-monte-carlo-web-app/72397)

<div class="topic-metadata">

**Author:** [@patrick](https://discourse.julialang.org/u/patrick)\
**Replies:** 5\
**Last updated:** [December 1, 2021, 11:08pm UTC](https://discourse.julialang.org/t/which-library-for-a-monte-carlo-web-app/72397 "2021-12-01T23:08:55Z")

</div>

Let me preface this by saying that I’m a Julia novice, and I have never done any web dev or serious plotting. So, a quick pointer to the right packages for my needs should suffice as an answer. In a nutshell: I want to …

---

## [Makie.jl - how to change the cursor?](https://discourse.julialang.org/t/makie-jl-how-to-change-the-cursor/60380)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 5\
**Last updated:** [December 1, 2021, 9:59am UTC](https://discourse.julialang.org/t/makie-jl-how-to-change-the-cursor/60380 "2021-12-01T09:59:23Z")

</div>

How can I change the cursor to a sand clock to indicate the user to wait with MakieGL?

---

## [Gadfly question: How to make Geom.bar slimmer, give alternating colors to bars and bars display their values](https://discourse.julialang.org/t/gadfly-question-how-to-make-geom-bar-slimmer-give-alternating-colors-to-bars-and-bars-display-their-values/72327)

<div class="topic-metadata">

**Author:** [@benibilme](https://discourse.julialang.org/u/benibilme)\
**Replies:** 2\
**Last updated:** [December 1, 2021, 4:15am UTC](https://discourse.julialang.org/t/gadfly-question-how-to-make-geom-bar-slimmer-give-alternating-colors-to-bars-and-bars-display-their-values/72327 "2021-12-01T04:15:22Z")

</div>

Hello, I am trying to learn gadfly plotting library. I have a very simple dataset as follows: country,percent country1,47 country2,41 country3,39 country4,39 country5,36 country6,36 country7,36 country8,35 country9,34…

---

## [Making the font bold or italic in Makie.jl](https://discourse.julialang.org/t/making-the-font-bold-or-italic-in-makie-jl/72089)

<div class="topic-metadata">

**Author:** [@mmkim1210](https://discourse.julialang.org/u/mmkim1210)\
**Replies:** 11\
**Last updated:** [November 28, 2021, 8:53pm UTC](https://discourse.julialang.org/t/making-the-font-bold-or-italic-in-makie-jl/72089 "2021-11-28T20:53:46Z")

</div>

How can you make your font either bold or italic in Makie? I do not want the Latex font, just good old bold or italic “Arial” font. Thank you.

---

## [Adjusting the height of Colorbar in Makie.jl](https://discourse.julialang.org/t/adjusting-the-height-of-colorbar-in-makie-jl/72206)

<div class="topic-metadata">

**Author:** [@mmkim1210](https://discourse.julialang.org/u/mmkim1210)\
**Replies:** 1\
**Last updated:** [November 28, 2021, 6:16pm UTC](https://discourse.julialang.org/t/adjusting-the-height-of-colorbar-in-makie-jl/72206 "2021-11-28T18:16:24Z")

</div>

Would it be possible to customize the height of colorbar in Makie? I have noticed that width can be adjusted, but how about height? Thank you.

---

## [Smoothing over date axis in AlgebraOfGraphics](https://discourse.julialang.org/t/smoothing-over-date-axis-in-algebraofgraphics/72152)

<div class="topic-metadata">

**Author:** [@sleak](https://discourse.julialang.org/u/sleak)\
**Replies:** 2\
**Last updated:** [November 28, 2021, 5:22am UTC](https://discourse.julialang.org/t/smoothing-over-date-axis-in-algebraofgraphics/72152 "2021-11-28T05:22:12Z")

</div>

I have a bunch of observations (date on x-axis, weight on y-axis) that I want to plot a trend line through. Using DataFrames and AlgebraOfGraphics I can plot the individual points: using AlgebraOfGraphics using CairoMak…

---

## [PyPlot on macOS Monterey with M1](https://discourse.julialang.org/t/pyplot-on-macos-monterey-with-m1/72185)

<div class="topic-metadata">

**Author:** [@George9000](https://discourse.julialang.org/u/George9000)\
**Replies:** 0\
**Last updated:** [November 27, 2021, 11:53pm UTC](https://discourse.julialang.org/t/pyplot-on-macos-monterey-with-m1/72185 "2021-11-27T23:53:56Z")

</div>

While trying out Fatou.jl, I had difficulty getting PyPlot to work on an M1 Mac. Here is the environement and steps that got things working. Python I am not using Conda. I did follow directions here to set things up on …

---

## [Plot a diagonal 1:1 line in a marginalkde plot](https://discourse.julialang.org/t/plot-a-diagonal-1-1-line-in-a-marginalkde-plot/72036)

<div class="topic-metadata">

**Author:** [@rio](https://discourse.julialang.org/u/rio)\
**Replies:** 3\
**Last updated:** [November 25, 2021, 9:34am UTC](https://discourse.julialang.org/t/plot-a-diagonal-1-1-line-in-a-marginalkde-plot/72036 "2021-11-25T09:34:24Z")

</div>

Hi, I am trying to add a diagonal 1:1 line to a marginalkde plot. I found that there is Plots.abline! which draws a straight line in the form of ax+b respecting axis limits of the plot. However, my attempt below draws t…

---

## [Distinct color for missing values in colorbar](https://discourse.julialang.org/t/distinct-color-for-missing-values-in-colorbar/71927)

<div class="topic-metadata">

**Author:** [@adigitoleo](https://discourse.julialang.org/u/adigitoleo)\
**Replies:** 4\
**Last updated:** [November 24, 2021, 11:46pm UTC](https://discourse.julialang.org/t/distinct-color-for-missing-values-in-colorbar/71927 "2021-11-24T23:46:01Z")

</div>

I am wondering how to handle missing values in a colorbar. For my specific use case, I want to create a scatter plot where the data points are colored according to a third vector of values which may contain missing. Bef…

---

## [Heatmap where x-labels and y-labels are strings](https://discourse.julialang.org/t/heatmap-where-x-labels-and-y-labels-are-strings/71963)

<div class="topic-metadata">

**Author:** [@Rahul](https://discourse.julialang.org/u/Rahul)\
**Replies:** 2\
**Last updated:** [November 23, 2021, 8:28pm UTC](https://discourse.julialang.org/t/heatmap-where-x-labels-and-y-labels-are-strings/71963 "2021-11-23T20:28:06Z")

</div>

Could any one please help me with plotting a heatmap when x-axis and y-axis are strings. For example, the following code would work: using CairoMakie xs = 1:5 ys = 1:10 zs = \[rand(1)\[1\] for x in xs, y in ys\] heatmap(x…

---

## [Xticks spacing changes when decorations are hidden](https://discourse.julialang.org/t/xticks-spacing-changes-when-decorations-are-hidden/71937)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 2\
**Last updated:** [November 23, 2021, 2:57pm UTC](https://discourse.julialang.org/t/xticks-spacing-changes-when-decorations-are-hidden/71937 "2021-11-23T14:57:50Z")

</div>

Helloo, I made a MWE that emulates the kind of problem I have: begin f = Figure() gl = GridLayout() f.layout\[1,1\] = gl for i in 1:2, j in 1:2 gl\[i,j\] = a = Axis(f) for (i,data…

---

## [Plotting big data sets?](https://discourse.julialang.org/t/plotting-big-data-sets/71893)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 3\
**Last updated:** [November 22, 2021, 2:56pm UTC](https://discourse.julialang.org/t/plotting-big-data-sets/71893 "2021-11-22T14:56:29Z")

</div>

I suggested Julia to an industry contact. His response: “Can Julia plot really big datasets?” What he meant was: he has timeseries of a few million elements, and want to just dump the entire series on the plotting routi…

---

## [Problem with Plotting](https://discourse.julialang.org/t/problem-with-plotting/71889)

<div class="topic-metadata">

**Author:** [@IljaK91](https://discourse.julialang.org/u/IljaK91)\
**Replies:** 3\
**Last updated:** [November 22, 2021, 11:14am UTC](https://discourse.julialang.org/t/problem-with-plotting/71889 "2021-11-22T11:14:55Z")

</div>

Hey everyone, I tried to plot some graphs today, but somehow the font for the labels is not sharp and the commands for the fontsize get ignored. I have tried downgrading Plots to 1.22, but that did not help. I also upgr…

---

## [GLMakie -- How to change default window configuration?](https://discourse.julialang.org/t/glmakie-how-to-change-default-window-configuration/71861)

<div class="topic-metadata">

**Author:** [@zornsllama](https://discourse.julialang.org/u/zornsllama)\
**Replies:** 0\
**Last updated:** [November 21, 2021, 3:25pm UTC](https://discourse.julialang.org/t/glmakie-how-to-change-default-window-configuration/71861 "2021-11-21T15:25:53Z")

</div>

Hi, I would like to modify the default window configuration for my GLMakie installation; in particular, I want the effect of running GLMakie.set\_window\_config!(focus\_on\_show=true) whenever I import GLMakie, without havi…

---

## [Makie - How do I create an image from a HSV matrix of pixels?](https://discourse.julialang.org/t/makie-how-do-i-create-an-image-from-a-hsv-matrix-of-pixels/71835)

<div class="topic-metadata">

**Author:** [@nelsonah](https://discourse.julialang.org/u/nelsonah)\
**Replies:** 0\
**Last updated:** [November 20, 2021, 4:00pm UTC](https://discourse.julialang.org/t/makie-how-do-i-create-an-image-from-a-hsv-matrix-of-pixels/71835 "2021-11-20T16:00:49Z")

</div>

I am converting my Mandelbrot display/interactions program from using GtkReactive/ImageView to Makie. In my GtkReactive/ImageView version my HSV array is defined as points = Array{HSV{Float64},2}(undef, y\_size, x\_size) …

---

## [Zoom a \`CairoMakie\` mesh plot](https://discourse.julialang.org/t/zoom-a-cairomakie-mesh-plot/71739)

<div class="topic-metadata">

**Author:** [@circonflexe](https://discourse.julialang.org/u/circonflexe)\
**Replies:** 4\
**Last updated:** [November 19, 2021, 8:44am UTC](https://discourse.julialang.org/t/zoom-a-cairomakie-mesh-plot/71739 "2021-11-19T08:44:45Z")

</div>

CairoMakie can do a 3d plot of a mesh; e.g. using CairoMakie save("mesh.png", plot(\[1. 0 0;0 1 0;0 0 1;0 0 0\],\[1 2 3;2 3 4\])) How is it possible to zoom such a picture? I tried calling zoom!(m.figure.scene, \[0,0,0\],10.…

---

## [Why is my custom plot a scene in Makie.jl](https://discourse.julialang.org/t/why-is-my-custom-plot-a-scene-in-makie-jl/71733)

<div class="topic-metadata">

**Author:** [@josuagrw](https://discourse.julialang.org/u/josuagrw)\
**Replies:** 9\
**Last updated:** [November 18, 2021, 5:28pm UTC](https://discourse.julialang.org/t/why-is-my-custom-plot-a-scene-in-makie-jl/71733 "2021-11-18T17:28:27Z")

</div>

I defined my own recipe for animation in Makie.jl and I wanted to rotate that scene. After a lot of trial and error I tried rotating the plot object, by adding to the method function plot!(customplot::CustomPlot) ..…

---

## [How can I improve the spacing in this layout with multiple axis of aspect ratio 1?](https://discourse.julialang.org/t/how-can-i-improve-the-spacing-in-this-layout-with-multiple-axis-of-aspect-ratio-1/71634)

<div class="topic-metadata">

**Author:** [@aramirezreyes](https://discourse.julialang.org/u/aramirezreyes)\
**Replies:** 4\
**Last updated:** [November 17, 2021, 5:02am UTC](https://discourse.julialang.org/t/how-can-i-improve-the-spacing-in-this-layout-with-multiple-axis-of-aspect-ratio-1/71634 "2021-11-17T05:02:45Z")

</div>

Hi! Do you have any advice to make this layout look nicer? I am perturbed by the different row gap between rows 1-2 and 2-3, but I cannot make them even. Original code: using CairoMakie set\_theme!(fontsize = 30, Axi…

---

## [How to reset theming cycler in Makie axis?](https://discourse.julialang.org/t/how-to-reset-theming-cycler-in-makie-axis/71607)

<div class="topic-metadata">

**Author:** [@aramirezreyes](https://discourse.julialang.org/u/aramirezreyes)\
**Replies:** 1\
**Last updated:** [November 16, 2021, 7:22pm UTC](https://discourse.julialang.org/t/how-to-reset-theming-cycler-in-makie-axis/71607 "2021-11-16T19:22:40Z")

</div>

Hi there! I am plotting two sets of lines in the same axis. I would like each line on a set to have the same style (line color, style, width, etc…) to the corresponding line in the other set. Currently, the style cycles…

---

## [How to set markers in julia pyplot's legend?](https://discourse.julialang.org/t/how-to-set-markers-in-julia-pyplots-legend/71527)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 1\
**Last updated:** [November 16, 2021, 1:19pm UTC](https://discourse.julialang.org/t/how-to-set-markers-in-julia-pyplots-legend/71527 "2021-11-16T13:19:17Z")

</div>

Hello, I plotted some data with lines and then highlighted some specific points with dots using PyPlot. When I add the legend, the icons next to the names only shows line because the first elements of the plot are indee…

---

## [Makie - SLOW Code: ax = Axis(fig\[1,1\]) takes 50 seconds to execute](https://discourse.julialang.org/t/makie-slow-code-ax-axis-fig-1-1-takes-50-seconds-to-execute/71457)

<div class="topic-metadata">

**Author:** [@nelsonah](https://discourse.julialang.org/u/nelsonah)\
**Replies:** 19\
**Last updated:** [November 16, 2021, 12:56pm UTC](https://discourse.julialang.org/t/makie-slow-code-ax-axis-fig-1-1-takes-50-seconds-to-execute/71457 "2021-11-16T12:56:18Z")

</div>

using GLMakie println(“Starting Program”) t0 = time(); t\_last = t0 println(“Initialize the figure”) fig = Figure(); t\_n = time(); del\_t = t\_n - t\_last; t\_last = t\_n; println(“del\_t = $del\_t”); println(“”) println(“…

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

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