# Latest

**URL:** https://discourse.julialang.org/latest.md?page=478

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

**Page:** 479

---

## [Shared legend for subplots in Plotly](https://discourse.julialang.org/t/shared-legend-for-subplots-in-plotly/110497)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 0\
**Last updated:** [February 21, 2024, 4:58am UTC](https://discourse.julialang.org/t/shared-legend-for-subplots-in-plotly/110497 "2024-02-21T04:58:12Z")

</div>

I’ve seen variations of this question, but nothing fits my case exactly so I’m trying.: I want to create three subplots in Plotly that share the same legend, I use the following code: p = \[p\_1; p\_2; p\_3\] relayout!(p, h…

---

## [Avoiding recompilation between interactive use and testing by making testing also checkbounds=auto?](https://discourse.julialang.org/t/avoiding-recompilation-between-interactive-use-and-testing-by-making-testing-also-checkbounds-auto/100830)

<div class="topic-metadata">

**Author:** [@oxinabox](https://discourse.julialang.org/u/oxinabox)\
**Replies:** 8\
**Last updated:** [February 21, 2024, 2:52am UTC](https://discourse.julialang.org/t/avoiding-recompilation-between-interactive-use-and-testing-by-making-testing-also-checkbounds-auto/100830 "2024-02-21T02:52:04Z")

</div>

So because by default julia runs with check-bounds=auto, but when testing it runs with check-bounds=yes and those generate different package-images, julia will have to re-precompile everything when you change from int…

---

## [Warning about name conflict](https://discourse.julialang.org/t/warning-about-name-conflict/109743)

<div class="topic-metadata">

**Author:** [@bwanab](https://discourse.julialang.org/u/bwanab)\
**Replies:** 6\
**Last updated:** [February 21, 2024, 12:11am UTC](https://discourse.julialang.org/t/warning-about-name-conflict/109743 "2024-02-21T00:11:43Z")

</div>

I see some existing answers to this question, but I still don’t understand in this case: I’ve got a function in a module step(a::MyType1, b::MyType2) Where I invoke this in my code, I get a warning that it is in confl…

---

## [How to filter Date data column in a DataFrame](https://discourse.julialang.org/t/how-to-filter-date-data-column-in-a-dataframe/110485)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 3\
**Last updated:** [February 20, 2024, 11:58pm UTC](https://discourse.julialang.org/t/how-to-filter-date-data-column-in-a-dataframe/110485 "2024-02-20T23:58:30Z")

</div>

Hi everyone, I have a DataFrame with Dates type in one column named “Date” (the rest of the columns are with regular data). I want to filter the dataframe to have data only between years 2015 and 2019. I tried: df\[@. …

---

## [Why is Capital D 'Display' variable within Plots package stopping me from pre-compiling?](https://discourse.julialang.org/t/why-is-capital-d-display-variable-within-plots-package-stopping-me-from-pre-compiling/110487)

<div class="topic-metadata">

**Author:** [@ssmclark](https://discourse.julialang.org/u/ssmclark)\
**Replies:** 1\
**Last updated:** [February 20, 2024, 11:32pm UTC](https://discourse.julialang.org/t/why-is-capital-d-display-variable-within-plots-package-stopping-me-from-pre-compiling/110487 "2024-02-20T23:32:45Z")

</div>

struct PlotsDisplay \<: Display end This is line 9 in types.jl within the Plots package. I’ve tried removing the package, using the garbage cleaner ‘gc’, rebuilding it, using different versions. Every time I try to compi…

---

## [Trouble writing custom rule in Enzyme: \`AssertionError: !(overwritten\[end\])\`](https://discourse.julialang.org/t/trouble-writing-custom-rule-in-enzyme-assertionerror-overwritten-end/108939)

<div class="topic-metadata">

**Author:** [@Gianluca\_Fuwa](https://discourse.julialang.org/u/Gianluca_Fuwa)\
**Replies:** 3\
**Last updated:** [February 20, 2024, 11:25pm UTC](https://discourse.julialang.org/t/trouble-writing-custom-rule-in-enzyme-assertionerror-overwritten-end/108939 "2024-02-20T23:25:57Z")

</div>

Hi, I am currently trying to use Enzyme to get the derivative of a function that takes a multidimensional array of 3x3 matrices and outputs a scalar. The caveat is that these matrices are elements of the Lie-group of sp…

---

## [Metaprogramming: macro calling another macro making named variables](https://discourse.julialang.org/t/metaprogramming-macro-calling-another-macro-making-named-variables/109621)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 7\
**Last updated:** [February 20, 2024, 11:17pm UTC](https://discourse.julialang.org/t/metaprogramming-macro-calling-another-macro-making-named-variables/109621 "2024-02-20T23:17:24Z")

</div>

Ooof, I need some metaprogramming help… There is the macro @parameters x = 0.5. The macro, in a simplified sense, does the following: makes a named parameter with name :x and default value 0.5 and returns the container a…

---

## [LoadError: UndefVarError: \`libglpk\` not defined](https://discourse.julialang.org/t/loaderror-undefvarerror-libglpk-not-defined/110480)

<div class="topic-metadata">

**Author:** [@Carl\_Baier](https://discourse.julialang.org/u/Carl_Baier)\
**Replies:** 7\
**Last updated:** [February 20, 2024, 11:16pm UTC](https://discourse.julialang.org/t/loaderror-undefvarerror-libglpk-not-defined/110480 "2024-02-20T23:16:52Z")

</div>

Hello, i have this code: using libglpk using GLPK using JuMP using Gurobi using DataFrames using BlockDecomposition, Coluna; I\_list = \[1, 2, 3\] T\_list = \[1, 2, 3, 4, 5, 6, 7\] K\_list = \[1, 2, 3\] alpha=0.01 M = 10000 Ma…

---

## [GUI options for Julia?](https://discourse.julialang.org/t/gui-options-for-julia/110474)

<div class="topic-metadata">

**Author:** [@math\_opt](https://discourse.julialang.org/u/math_opt)\
**Replies:** 6\
**Last updated:** [February 20, 2024, 10:52pm UTC](https://discourse.julialang.org/t/gui-options-for-julia/110474 "2024-02-20T22:52:56Z")

</div>

I have a Julia project that I currently execute in REPL. It takes input from the user dynamically and saves stuff (figures, files). Although REPL is good for testing phase, I eventually plan to have a better interface fo…

---

## [Revise warnings on v1.10.1](https://discourse.julialang.org/t/revise-warnings-on-v1-10-1/110237)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 14\
**Last updated:** [February 20, 2024, 9:30pm UTC](https://discourse.julialang.org/t/revise-warnings-on-v1-10-1/110237 "2024-02-20T21:30:03Z")

</div>

I’m trying to use DSP and Plots together on v1.10.1, but I’m encountering many warnings from Revise when trying to install these. Are these serious, and how do I resolve these? (@v1.10) pkg\> activate --temp Activating…

---

## [Changing axis properties after plotting](https://discourse.julialang.org/t/changing-axis-properties-after-plotting/110461)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 3\
**Last updated:** [February 20, 2024, 9:19pm UTC](https://discourse.julialang.org/t/changing-axis-properties-after-plotting/110461 "2024-02-20T21:19:02Z")

</div>

I’m wondering if there is a way to change the axis properties after plotting. For example, using CairoMakie fig = Figure() fig\[1,1\] = Axis(fig) xs = range(0, 2π, 100) lines!(xs, sin.(xs)) # Want something like the fol…

---

## [Mul! vs \* benchmarks](https://discourse.julialang.org/t/mul-vs-benchmarks/110448)

<div class="topic-metadata">

**Author:** [@Enlil50](https://discourse.julialang.org/u/Enlil50)\
**Replies:** 2\
**Last updated:** [February 20, 2024, 4:41pm UTC](https://discourse.julialang.org/t/mul-vs-benchmarks/110448 "2024-02-20T16:41:23Z")

</div>

I have these 4 examles I’m benchmarking: using SparseArrays using LinearAlgebra using BenchmarkTools using Random function myfun1(m::Integer, n::Integer) Random.seed!(1) A = rand(Float64, n, n) B = sparse(r…

---

## [Julia Symbolics in Jupyter - Initializing LaTeX printing](https://discourse.julialang.org/t/julia-symbolics-in-jupyter-initializing-latex-printing/110377)

<div class="topic-metadata">

**Author:** [@brombo](https://discourse.julialang.org/u/brombo)\
**Replies:** 7\
**Last updated:** [February 20, 2024, 8:27pm UTC](https://discourse.julialang.org/t/julia-symbolics-in-jupyter-initializing-latex-printing/110377 "2024-02-20T20:27:30Z")

</div>

I am familiar with using python and sympy on Jupyter Notebook. When printing LaTeX expressions on Notebook I have in my printing modules the statement - init\_printing( use\_latex='mathjax', …

---

## [Nightly channel in Juliaup](https://discourse.julialang.org/t/nightly-channel-in-juliaup/110080)

<div class="topic-metadata">

**Author:** [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Replies:** 16\
**Last updated:** [February 20, 2024, 7:50pm UTC](https://discourse.julialang.org/t/nightly-channel-in-juliaup/110080 "2024-02-20T19:50:02Z")

</div>

Just a quick announcement: Juliaup now has support for a nightly channel. You typically get a prerelease build from the Julia master branch every day in that channel. While the implementation for this channel is quite d…

---

## [How to use autodiff with Quadrature.jl](https://discourse.julialang.org/t/how-to-use-autodiff-with-quadrature-jl/77437)

<div class="topic-metadata">

**Author:** [@samerb](https://discourse.julialang.org/u/samerb)\
**Replies:** 4\
**Last updated:** [February 20, 2024, 7:47pm UTC](https://discourse.julialang.org/t/how-to-use-autodiff-with-quadrature-jl/77437 "2024-02-20T19:47:39Z")

</div>

I’m trying to use autodiff on a function that uses Quadrature.jl numerical integration. I’m getting an error and not sure why. Any suggestions? Thanks. The function f(y) is \\int\_0^y x dx - y (computed numerically using …

---

## [Hard error using dice loss](https://discourse.julialang.org/t/hard-error-using-dice-loss/110059)

<div class="topic-metadata">

**Author:** [@cirobr](https://discourse.julialang.org/u/cirobr)\
**Replies:** 2\
**Last updated:** [February 20, 2024, 7:44pm UTC](https://discourse.julialang.org/t/hard-error-using-dice-loss/110059 "2024-02-20T19:44:05Z")

</div>

Cheers, Regardless of the model, data, or any other condition, I’ve never been able of using the built-in Flux.dice\_coeff\_loss() function. A very long error dump shows up, apparently tied to CUDA and memory usage For t…

---

## [The speed of inter-process communication via RemoteChannels](https://discourse.julialang.org/t/the-speed-of-inter-process-communication-via-remotechannels/110424)

<div class="topic-metadata">

**Author:** [@sumiya11](https://discourse.julialang.org/u/sumiya11)\
**Replies:** 4\
**Last updated:** [February 20, 2024, 7:18pm UTC](https://discourse.julialang.org/t/the-speed-of-inter-process-communication-via-remotechannels/110424 "2024-02-20T19:18:30Z")

</div>

I wish to roughly measure the latency and throughput of process communication in Julia, to decide how to use multi-processing in my implementation. In the following script, I compare main and main\_with\_channels: using …

---

## [Matrix for storage sol from DifferentialEquations](https://discourse.julialang.org/t/matrix-for-storage-sol-from-differentialequations/110464)

<div class="topic-metadata">

**Author:** [@Sergey\_Novak](https://discourse.julialang.org/u/Sergey_Novak)\
**Replies:** 2\
**Last updated:** [February 20, 2024, 5:12pm UTC](https://discourse.julialang.org/t/matrix-for-storage-sol-from-differentialequations/110464 "2024-02-20T17:12:07Z")

</div>

Hello, i solve system with different initial condition and i want to save all sol. I’m thinking about creating a matrix or vector and storing solutions there for various initial conditions. How can this be done? Thank yo…

---

## [Problems with file paths](https://discourse.julialang.org/t/problems-with-file-paths/110460)

<div class="topic-metadata">

**Author:** [@snipick19](https://discourse.julialang.org/u/snipick19)\
**Replies:** 3\
**Last updated:** [February 20, 2024, 4:33pm UTC](https://discourse.julialang.org/t/problems-with-file-paths/110460 "2024-02-20T16:33:08Z")

</div>

Hello ! I am using a Python script that calls a shell script, which in turn executes a Julia script. Here is the python script : import os import subprocess BUFFERSIZE = 72000 def julia\_spike\_filter(projectPath, fold…

---

## [Autodiff Enzyme reverse mode sometimes fails on on repeated evaluation](https://discourse.julialang.org/t/autodiff-enzyme-reverse-mode-sometimes-fails-on-on-repeated-evaluation/110017)

<div class="topic-metadata">

**Author:** [@dchang10](https://discourse.julialang.org/u/dchang10)\
**Replies:** 7\
**Last updated:** [February 20, 2024, 3:27pm UTC](https://discourse.julialang.org/t/autodiff-enzyme-reverse-mode-sometimes-fails-on-on-repeated-evaluation/110017 "2024-02-20T15:27:04Z")

</div>

I’m developing a package which has a function defined the following way function emission\_radius(pix::Krang.AbstractPixel, θs::T, isindir, n) where {T} α, β = screen\_coordinate(pix) θo = inclination(pix) met…

---

## [Several questions that arise during learning package development](https://discourse.julialang.org/t/several-questions-that-arise-during-learning-package-development/110399)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 7\
**Last updated:** [February 20, 2024, 2:37pm UTC](https://discourse.julialang.org/t/several-questions-that-arise-during-learning-package-development/110399 "2024-02-20T14:37:24Z")

</div>

I’m trying to understand the organization mechanism of Julia packages and seeking for a good workflow that is suitable for me for package development. My expected learning roadmap is to firstly create a minimal package f…

---

## [RISC\_V Optimisation guide](https://discourse.julialang.org/t/risc-v-optimisation-guide/110441)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 2\
**Last updated:** [February 20, 2024, 1:45pm UTC](https://discourse.julialang.org/t/risc-v-optimisation-guide/110441 "2024-02-20T13:45:30Z")

</div>

Newlyproduced guide to Risc\_V . May be useful for Julia!

---

## [Recording of Makie hist changes output](https://discourse.julialang.org/t/recording-of-makie-hist-changes-output/110440)

<div class="topic-metadata">

**Author:** [@DrBurner](https://discourse.julialang.org/u/DrBurner)\
**Replies:** 2\
**Last updated:** [February 20, 2024, 1:11pm UTC](https://discourse.julialang.org/t/recording-of-makie-hist-changes-output/110440 "2024-02-20T13:11:26Z")

</div>

I’d like to make a short video of the build up of an histogram with a little bit of white space between the bins . Unfortunately the record block seems to ignore the width keyword. using GLMakie samples=rand(1:10,100) …

---

## [Access JuMP variables queried as string](https://discourse.julialang.org/t/access-jump-variables-queried-as-string/110393)

<div class="topic-metadata">

**Author:** [@math\_opt](https://discourse.julialang.org/u/math_opt)\
**Replies:** 10\
**Last updated:** [February 20, 2024, 12:16pm UTC](https://discourse.julialang.org/t/access-jump-variables-queried-as-string/110393 "2024-02-20T12:16:06Z")

</div>

If a user wants to know the variable values for a JuMP model that is not exposed to the user directly, what are the options? For example: using JuMP using HiGHS #some arbitrary JuMP model model = Model(HiGHS.Optimizer)…

---

## [How fresh is the General package registry?](https://discourse.julialang.org/t/how-fresh-is-the-general-package-registry/110358)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 7\
**Last updated:** [February 20, 2024, 12:15pm UTC](https://discourse.julialang.org/t/how-fresh-is-the-general-package-registry/110358 "2024-02-20T12:15:44Z")

</div>

I was wondering how many orphaned single-release “maybe should never have been registered” packages are there in the General registry. This is something I have heard other communities lament – pollution of their package …

---

## [Accessing non-exported package extension functions](https://discourse.julialang.org/t/accessing-non-exported-package-extension-functions/109058)

<div class="topic-metadata">

**Author:** [@Brad\_Carman](https://discourse.julialang.org/u/Brad_Carman)\
**Replies:** 16\
**Last updated:** [February 20, 2024, 11:49am UTC](https://discourse.julialang.org/t/accessing-non-exported-package-extension-functions/109058 "2024-02-20T11:49:27Z")

</div>

If module A has an extension B with a function b\_fun(), how can I call this function? I was assuming I could do: using A using A.B: b\_fun b\_fun() The namespacing for package extensions has me a little confused.

---

## [Generator expressions](https://discourse.julialang.org/t/generator-expressions/110337)

<div class="topic-metadata">

**Author:** [@vsoler](https://discourse.julialang.org/u/vsoler)\
**Replies:** 4\
**Last updated:** [February 20, 2024, 11:26am UTC](https://discourse.julialang.org/t/generator-expressions/110337 "2024-02-20T11:26:08Z")

</div>

I’m reading the Julia Manual on Generator Expressions. According to the Manual … the following expression sums a series without allocating memory: sum(1/n^2 for n in 1:1000) So I tried to compare the previous expres…

---

## [Computational reproducibility of Jupyter notebooks from biomedical publications](https://discourse.julialang.org/t/computational-reproducibility-of-jupyter-notebooks-from-biomedical-publications/110443)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 2\
**Last updated:** [February 20, 2024, 11:19am UTC](https://discourse.julialang.org/t/computational-reproducibility-of-jupyter-notebooks-from-biomedical-publications/110443 "2024-02-20T11:19:30Z")

</div>

Shamelessly copied from the Research Computing Teams newsletter. Relevant as Julia should help greatly with reproducibility. Computational reproducibility of Jupyter notebooks from biomedical publications - Sheeba Samu…

---

## [Krylovkit tolerance changes results drastically](https://discourse.julialang.org/t/krylovkit-tolerance-changes-results-drastically/110450)

<div class="topic-metadata">

**Author:** [@Enlil50](https://discourse.julialang.org/u/Enlil50)\
**Replies:** 0\
**Last updated:** [February 20, 2024, 11:16am UTC](https://discourse.julialang.org/t/krylovkit-tolerance-changes-results-drastically/110450 "2024-02-20T11:16:17Z")

</div>

I’m writing a difficult to read code, just because I know the analytical result which is -0.274519. This value is meant to be compared with what is printed in the 4th column of this (a laptop is more than enough). When…

---

## [GLMakie - Polar heatmap/ millions of Polygons(?)](https://discourse.julialang.org/t/glmakie-polar-heatmap-millions-of-polygons/98470)

<div class="topic-metadata">

**Author:** [@Ertyk](https://discourse.julialang.org/u/Ertyk)\
**Replies:** 1\
**Last updated:** [February 20, 2024, 10:37am UTC](https://discourse.julialang.org/t/glmakie-polar-heatmap-millions-of-polygons/98470 "2024-02-20T10:37:20Z")

</div>

Hello, I am trying to plot (a lot of) data in a live “polar heatmap”. A triangular visualization like below is ok. For now I have used polygons by modifying this example: https://docs.makie.org/stable/examples/plott…

[Previous page](https://discourse.julialang.org/latest.md?page=477)

[Next page](https://discourse.julialang.org/latest.md?page=479)
