# Visualization

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

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

**Page:** 56

---

## [Plots - reset color cycle](https://discourse.julialang.org/t/plots-reset-color-cycle/74751)

<div class="topic-metadata">

**Author:** [@cripcate](https://discourse.julialang.org/u/cripcate)\
**Replies:** 7\
**Last updated:** [January 17, 2022, 12:41pm UTC](https://discourse.julialang.org/t/plots-reset-color-cycle/74751 "2022-01-17T12:41:17Z")

</div>

Hi there. I have a plot with two different series (a scatterline and a fillrange). I want the fillrange (representing error) to be of the same color as the line. Here is my code: using DataFrames, Plots, Random Random.…

---

## [Normal probability plot](https://discourse.julialang.org/t/normal-probability-plot/74663)

<div class="topic-metadata">

**Author:** [@iskyd](https://discourse.julialang.org/u/iskyd)\
**Replies:** 7\
**Last updated:** [January 16, 2022, 12:54am UTC](https://discourse.julialang.org/t/normal-probability-plot/74663 "2022-01-16T00:54:36Z")

</div>

I have a dataframe that contains SalePrice and I’m trying to plot the normal distribution and the normal probability plot. To plot the distribution I’m using Plots jl and StatsPlot and doing something like histogram(tr…

---

## [Makie - Plotting hatched polygons in CairoMakie](https://discourse.julialang.org/t/makie-plotting-hatched-polygons-in-cairomakie/74682)

<div class="topic-metadata">

**Author:** [@Pablo\_Marchant](https://discourse.julialang.org/u/Pablo_Marchant)\
**Replies:** 1\
**Last updated:** [January 16, 2022, 7:50pm UTC](https://discourse.julialang.org/t/makie-plotting-hatched-polygons-in-cairomakie/74682 "2022-01-16T19:50:20Z")

</div>

Hi! I’m looking to reimplement various tools I have using python+matplotlib to julia+makie. Most of these deal with stellar astrophysics. One particular one is a plotting tool meant to post-process simulation data into …

---

## [Access matplotlib/PyPlot object of Plots.jl plot](https://discourse.julialang.org/t/access-matplotlib-pyplot-object-of-plots-jl-plot/74422)

<div class="topic-metadata">

**Author:** [@tfiers](https://discourse.julialang.org/u/tfiers)\
**Replies:** 3\
**Last updated:** [January 15, 2022, 8:01pm UTC](https://discourse.julialang.org/t/access-matplotlib-pyplot-object-of-plots-jl-plot/74422 "2022-01-15T20:01:31Z")

</div>

I plot using Plots; pyplot() How can I access the created PyPlot.Figure(PyObject \<Figure size 640x480 with 1 Axes\>) and PyObject \<AxesSubplot:\> ? (I can get those when I use PyPlot directly, but then I’m not using Plots…

---

## [Annotations in groupedbar are broken?](https://discourse.julialang.org/t/annotations-in-groupedbar-are-broken/74418)

<div class="topic-metadata">

**Author:** [@alfaromartino](https://discourse.julialang.org/u/alfaromartino)\
**Replies:** 1\
**Last updated:** [January 15, 2022, 2:56pm UTC](https://discourse.julialang.org/t/annotations-in-groupedbar-are-broken/74418 "2022-01-15T14:56:15Z")

</div>

I tried to add some numbers to each bar in groupedbar of StatsPlots and it always repeats the numbers of the first group. The error was reproduced in pgfplotsx, pyplot, and plotly as backends. MWE: x=\["A","A","B","B"\] …

---

## [Cutom scatter tooltip with Makie's DataInspector](https://discourse.julialang.org/t/cutom-scatter-tooltip-with-makies-datainspector/74548)

<div class="topic-metadata">

**Author:** [@Jakob](https://discourse.julialang.org/u/Jakob)\
**Replies:** 2\
**Last updated:** [January 13, 2022, 2:48pm UTC](https://discourse.julialang.org/t/cutom-scatter-tooltip-with-makies-datainspector/74548 "2022-01-13T14:48:03Z")

</div>

Hi all, Does anyone have an example on how to implement a simple custom tooltip for a scatterplot in Makie? After reading the DataInspector documentation I was unsure if I need to implement my own plot type or whether I…

---

## [Scatterplot readability](https://discourse.julialang.org/t/scatterplot-readability/73810)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 12\
**Last updated:** [January 12, 2022, 8:06am UTC](https://discourse.julialang.org/t/scatterplot-readability/73810 "2022-01-12T08:06:21Z")

</div>

Hey, I have trouble finding an automatic way to make a scatterplot readable, while the number of points is variable. See the following code : using Distributions, StatsBase, Plots data = rand(LogNormal(0,1), (2,1\_000\_0…

---

## [Scatter! not working as before after upgrade to julia 1.7.1 and GLMakie 0.5.0](https://discourse.julialang.org/t/scatter-not-working-as-before-after-upgrade-to-julia-1-7-1-and-glmakie-0-5-0/74410)

<div class="topic-metadata">

**Author:** [@peremato](https://discourse.julialang.org/u/peremato)\
**Replies:** 2\
**Last updated:** [January 11, 2022, 7:20pm UTC](https://discourse.julialang.org/t/scatter-not-working-as-before-after-upgrade-to-julia-1-7-1-and-glmakie-0-5-0/74410 "2022-01-11T19:20:33Z")

</div>

The following code with julia 1.7.1 and GLMakie 0.5.0 using StaticArrays using GLMakie const T = Float32 N = 1000 low, hi = Point3{T}(-1,-1,-1), Point3{T}(1,1,1) dim = hi - low points = Ref(low) .+ rand(Point3{T}, N)…

---

## [Plots.jl : Obtain a graph with alligned ticks on x and y axes](https://discourse.julialang.org/t/plots-jl-obtain-a-graph-with-alligned-ticks-on-x-and-y-axes/74388)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 9\
**Last updated:** [January 11, 2022, 1:45pm UTC](https://discourse.julialang.org/t/plots-jl-obtain-a-graph-with-alligned-ticks-on-x-and-y-axes/74388 "2022-01-11T13:45:20Z")

</div>

Hey, Is there a way to force a plot to have the same ticks values on the x and the y axes ? So that the ‘grid’ is symmetric. It will make the reading of my qqplots easier.

---

## [(3D plotting in Makie) Which Julia package does contain "to\_vertices"?](https://discourse.julialang.org/t/3d-plotting-in-makie-which-julia-package-does-contain-to-vertices/74320)

<div class="topic-metadata">

**Author:** [@cyfung](https://discourse.julialang.org/u/cyfung)\
**Replies:** 2\
**Last updated:** [January 11, 2022, 10:26am UTC](https://discourse.julialang.org/t/3d-plotting-in-makie-which-julia-package-does-contain-to-vertices/74320 "2022-01-11T10:26:34Z")

</div>

I would like to learn the 3D plot functionalities in Makie. I am trying to an example on the official website of Makie; I have run the code with “using Meshes” as well: https://makie.juliaplots.org/stable/examples/plot…

---

## [Change xticks in Makie.jl recipe](https://discourse.julialang.org/t/change-xticks-in-makie-jl-recipe/68810)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 2\
**Last updated:** [January 10, 2022, 7:54pm UTC](https://discourse.julialang.org/t/change-xticks-in-makie-jl-recipe/68810 "2022-01-10T19:54:09Z")

</div>

How can I set the xticks in this recipe? import Dates import TimeSeries using CairoMakie using PlotUtils: optimize\_datetime\_ticks dates = Dates.DateTime(2018, 1, 1):Dates.Day(1):Dates.DateTime(2018, 12, 31) data = Time…

---

## [Notification of breaking changes in Makie?](https://discourse.julialang.org/t/notification-of-breaking-changes-in-makie/74281)

<div class="topic-metadata">

**Author:** [@tt1234567](https://discourse.julialang.org/u/tt1234567)\
**Replies:** 5\
**Last updated:** [January 10, 2022, 6:37pm UTC](https://discourse.julialang.org/t/notification-of-breaking-changes-in-makie/74281 "2022-01-10T18:37:09Z")

</div>

Is there an easy way of getting notice of breaking changes in Makie? I do a regular \]update and today GLMakie was updated to 0.5.0 and my code no longer worked. It turned out to be straightforward to fix (replace Node wi…

---

## [\[CoordinateTransformations.jl + Meshes.jl + Rotations.jl\] Design for mixed 3d homogeneous and cartesian meshes](https://discourse.julialang.org/t/coordinatetransformations-jl-meshes-jl-rotations-jl-design-for-mixed-3d-homogeneous-and-cartesian-meshes/74288)

<div class="topic-metadata">

**Author:** [@rvezy](https://discourse.julialang.org/u/rvezy)\
**Replies:** 6\
**Last updated:** [January 10, 2022, 11:08am UTC](https://discourse.julialang.org/t/coordinatetransformations-jl-meshes-jl-rotations-jl-design-for-mixed-3d-homogeneous-and-cartesian-meshes/74288 "2022-01-10T11:08:57Z")

</div>

TL;DR Cartesian meshes seems to be the standard in Julia (Meshes.jl, Rotations.jl…). I read files using 4x4 matrices, should I: define my own transformation in CoordinateTransformations.jl that takes a Point3 in and a …

---

## [Plot DataFrames columns in plotlyjs](https://discourse.julialang.org/t/plot-dataframes-columns-in-plotlyjs/55333)

<div class="topic-metadata">

**Author:** [@espin](https://discourse.julialang.org/u/espin)\
**Replies:** 19\
**Last updated:** [January 9, 2022, 5:24pm UTC](https://discourse.julialang.org/t/plot-dataframes-columns-in-plotlyjs/55333 "2022-01-09T17:24:42Z")

</div>

I’m trying to plot a DataFrame in plotlyjs(). I’m able to plot 1 column but cant plot more than 1 (I have several around 20 that I have to plot on the same figure). The first column of the df is the data for the x axis,…

---

## [Plots title offset (pyplot)](https://discourse.julialang.org/t/plots-title-offset-pyplot/74250)

<div class="topic-metadata">

**Author:** [@jamblejoe](https://discourse.julialang.org/u/jamblejoe)\
**Replies:** 2\
**Last updated:** [January 9, 2022, 2:19pm UTC](https://discourse.julialang.org/t/plots-title-offset-pyplot/74250 "2022-01-09T14:19:47Z")

</div>

How do I offset titles in Plots.jl? For example when the title overlaps with the colorbar using Plots pyplot() heatmap(rand(100,100); title="title", titlefontsize=40, colorbar=:top) produces something like

---

## [Accessing ecdfplot from CairoMakie](https://discourse.julialang.org/t/accessing-ecdfplot-from-cairomakie/74219)

<div class="topic-metadata">

**Author:** [@bicepjai](https://discourse.julialang.org/u/bicepjai)\
**Replies:** 1\
**Last updated:** [January 8, 2022, 12:43am UTC](https://discourse.julialang.org/t/accessing-ecdfplot-from-cairomakie/74219 "2022-01-08T00:43:16Z")

</div>

I see cairomakie is moved to makie . New makie has been released, do we still need to install cairomakie separately ? I am trying to use ecdfplot and have not found a way. everytime i install cairomakie, makie version ge…

---

## [Julia Package for UI development](https://discourse.julialang.org/t/julia-package-for-ui-development/39469)

<div class="topic-metadata">

**Author:** [@saraflgarcia](https://discourse.julialang.org/u/saraflgarcia)\
**Replies:** 3\
**Last updated:** [January 6, 2022, 2:14pm UTC](https://discourse.julialang.org/t/julia-package-for-ui-development/39469 "2022-01-06T14:14:29Z")

</div>

Hi everyone, I want to develop a GUI written in Julia, with the following requirements: Widgets: top menu, tabs, checkboxes, radio button, range sliders, text-fields Widgets state: enabled/disabled, hidden/unhidden I…

---

## [Reading png rgb channels, Julia vs Python](https://discourse.julialang.org/t/reading-png-rgb-channels-julia-vs-python/73599)

<div class="topic-metadata">

**Author:** [@t-bltg](https://discourse.julialang.org/u/t-bltg)\
**Replies:** 13\
**Last updated:** [December 28, 2021, 6:43pm UTC](https://discourse.julialang.org/t/reading-png-rgb-channels-julia-vs-python/73599 "2021-12-28T18:43:01Z")

</div>

So here is a very simple 8x8 png image: Opening it in GIMP: So this pixel has RGBA(233, 173, 4, 244) components. Using Python: import imageio img = imageio.imread('img.png') r = img\[:, :, 0\] g = img\[:, :, 1\] b =…

---

## [Type Observable{Int64} isn't supported for uniform: dodge](https://discourse.julialang.org/t/type-observable-int64-isnt-supported-for-uniform-dodge/73635)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 0\
**Last updated:** [December 26, 2021, 3:50am UTC](https://discourse.julialang.org/t/type-observable-int64-isnt-supported-for-uniform-dodge/73635 "2021-12-26T03:50:02Z")

</div>

Why does this fail? using DataFrames, AlgebraOfGraphics, WGLMakie plotdf = DataFrame(a=\["x", "x", "y", "y"\], b=\["a", "b", "a", "b"\], c=\[1., 2., 3.,4.\]) spec = ( data(plotdf) \* mapping(:a, dodge=:b, color=:b) …

---

## [SOLVED: Animations and "\_display has no backend"](https://discourse.julialang.org/t/solved-animations-and-display-has-no-backend/28024)

<div class="topic-metadata">

**Author:** [@Brad\_Hines](https://discourse.julialang.org/u/Brad_Hines)\
**Replies:** 0\
**Last updated:** [August 27, 2019, 4:11am UTC](https://discourse.julialang.org/t/solved-animations-and-display-has-no-backend/28024 "2019-08-27T04:11:06Z")

</div>

Recording this just in case it helps someone else in the future. I have a function that sometimes I use for animation, and sometimes just to pop up an image. It had been working great, then suddenly failed with “\_displ…

---

## [Using Makie for Allotaxonometry](https://discourse.julialang.org/t/using-makie-for-allotaxonometry/73453)

<div class="topic-metadata">

**Author:** [@jstonge](https://discourse.julialang.org/u/jstonge)\
**Replies:** 3\
**Last updated:** [December 22, 2021, 5:01pm UTC](https://discourse.julialang.org/t/using-makie-for-allotaxonometry/73453 "2021-12-22T17:01:21Z")

</div>

Hi, As part of a small project of mine, I want to replicate a figure in a paper using Makie (this paper and these figures). The idea of allotaxonometry plots is that you compare two systems that are zipf distributed (in…

---

## [Run Julia/Makie simulations in Blender](https://discourse.julialang.org/t/run-julia-makie-simulations-in-blender/72796)

<div class="topic-metadata">

**Author:** [@Chimel](https://discourse.julialang.org/u/Chimel)\
**Replies:** 7\
**Last updated:** [December 20, 2021, 10:57pm UTC](https://discourse.julialang.org/t/run-julia-makie-simulations-in-blender/72796 "2021-12-20T22:57:41Z")

</div>

Hello, Blender user here, new to Julia. I ran into a Tweet with a cool Protein simuation done with the BioMakie.jl Julia program, and wanted to know if it is possible to export the simulation data to use it in Blender;…

---

## [Create plot with multiple colorgradients](https://discourse.julialang.org/t/create-plot-with-multiple-colorgradients/73383)

<div class="topic-metadata">

**Author:** [@DrChainsaw](https://discourse.julialang.org/u/DrChainsaw)\
**Replies:** 8\
**Last updated:** [December 20, 2021, 7:11pm UTC](https://discourse.julialang.org/t/create-plot-with-multiple-colorgradients/73383 "2021-12-20T19:11:02Z")

</div>

I’m trying to visualize some data where I want to see some kind of distribution a (small) set of per sample distributions. I doubt that the description makes much sense, but this MWE creates the type of figure I would l…

---

## [Thickness\_scaling creates unwanted wide left margin](https://discourse.julialang.org/t/thickness-scaling-creates-unwanted-wide-left-margin/73361)

<div class="topic-metadata">

**Author:** [@parb](https://discourse.julialang.org/u/parb)\
**Replies:** 1\
**Last updated:** [December 20, 2021, 3:49pm UTC](https://discourse.julialang.org/t/thickness-scaling-creates-unwanted-wide-left-margin/73361 "2021-12-20T15:49:42Z")

</div>

Hi all When using thickness\_scaling=2, a wide left and bottom margins are added to the plot. These margins cannot be reduced with the margins attribute. How do I remove the margins created by using thickness\_scaling? u…

---

## [Best Way of Handling Shapefiles in Makie](https://discourse.julialang.org/t/best-way-of-handling-shapefiles-in-makie/71028)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 12\
**Last updated:** [December 17, 2021, 5:06pm UTC](https://discourse.julialang.org/t/best-way-of-handling-shapefiles-in-makie/71028 "2021-12-17T17:06:56Z")

</div>

Hi all, What is the best way handle shapefiles with Makie? For example, I have a shapefile that defines the states for each state in the United States. DataFrames can handle displaying the shapefile as follows: julia\>s…

---

## [Makie: Labels are bold face](https://discourse.julialang.org/t/makie-labels-are-bold-face/73205)

<div class="topic-metadata">

**Author:** [@Kevin\_Kleinbeck](https://discourse.julialang.org/u/Kevin_Kleinbeck)\
**Replies:** 2\
**Last updated:** [December 17, 2021, 6:41am UTC](https://discourse.julialang.org/t/makie-labels-are-bold-face/73205 "2021-12-17T06:41:58Z")

</div>

Consider the figure Somehow the \\gamma\_d labels are displayed as bold face, even though there is no other font or so specified. The axis labels and the titles are created with latex strings during the creation of the…

---

## [Generating a nice mesh on a sphere S^2](https://discourse.julialang.org/t/generating-a-nice-mesh-on-a-sphere-s-2/73075)

<div class="topic-metadata">

**Author:** [@BVPs](https://discourse.julialang.org/u/BVPs)\
**Replies:** 8\
**Last updated:** [December 14, 2021, 10:52pm UTC](https://discourse.julialang.org/t/generating-a-nice-mesh-on-a-sphere-s-2/73075 "2021-12-14T22:52:42Z")

</div>

I would like to generate a nice mesh/grid (i.e., as homogeneous/isotropic as possible) on the unit sphere S^2 in R^3. In particular, I would like to generate two possible grid systems: 1) based on triangles; or 2) based …

---

## [Best way to plot or display historical and real time trajectory](https://discourse.julialang.org/t/best-way-to-plot-or-display-historical-and-real-time-trajectory/73084)

<div class="topic-metadata">

**Author:** [@benibilme](https://discourse.julialang.org/u/benibilme)\
**Replies:** 0\
**Last updated:** [December 14, 2021, 4:52pm UTC](https://discourse.julialang.org/t/best-way-to-plot-or-display-historical-and-real-time-trajectory/73084 "2021-12-14T16:52:15Z")

</div>

Hello, I want to display past and present vehicle trajectories which are coming as continuous streams. What will be best way to plot or display streaming trajectory on a map. I looking for capabilities similar to pyth…

---

## [AlgebraOfGraphics question](https://discourse.julialang.org/t/algebraofgraphics-question/72982)

<div class="topic-metadata">

**Author:** [@Bardo](https://discourse.julialang.org/u/Bardo)\
**Replies:** 4\
**Last updated:** [December 13, 2021, 12:26pm UTC](https://discourse.julialang.org/t/algebraofgraphics-question/72982 "2021-12-13T12:26:16Z")

</div>

In Philosophy · Algebra of Graphics (juliaplots.org) the authors explain that AlgebraOfGraphics doesn’t do mind reading and want to cut down the clutter/repetition when specifying a plot. I wonder what is the price to …

---

## [Plotly Slider - how to change data values?](https://discourse.julialang.org/t/plotly-slider-how-to-change-data-values/72939)

<div class="topic-metadata">

**Author:** [@Dieter](https://discourse.julialang.org/u/Dieter)\
**Replies:** 2\
**Last updated:** [December 12, 2021, 4:17pm UTC](https://discourse.julialang.org/t/plotly-slider-how-to-change-data-values/72939 "2021-12-12T16:17:29Z")

</div>

Hello Community, With the support of @empet I was able to create nice choropleth plots to visualize runoffs in german communities during the flooding in last summer. My next step would be to add a slider in order to sc…

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

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