# Latest

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

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

**Page:** 719

---

## [Makie volume animation froze!](https://discourse.julialang.org/t/makie-volume-animation-froze/43707)

<div class="topic-metadata">

**Author:** [@weymouth](https://discourse.julialang.org/u/weymouth)\
**Replies:** 25\
**Last updated:** [April 25, 2023, 11:27am UTC](https://discourse.julialang.org/t/makie-volume-animation-froze/43707 "2023-04-25T11:27:00Z")

</div>

Super simple Makie animation question. I am just trying to make a video from a volume() render of a field. I tried a = zeros(n,n,n) scene = volume(a) record("file.mp4",1:100) do i func!(a) scene = volume!(scene,a)…

---

## [Create legend for dodge boxplot in Makie](https://discourse.julialang.org/t/create-legend-for-dodge-boxplot-in-makie/97824)

<div class="topic-metadata">

**Author:** [@vembha](https://discourse.julialang.org/u/vembha)\
**Replies:** 2\
**Last updated:** [April 25, 2023, 11:05am UTC](https://discourse.julialang.org/t/create-legend-for-dodge-boxplot-in-makie/97824 "2023-04-25T11:05:21Z")

</div>

Hello, I am trying to get a legend for a box plot created in Makie. For the example provided in the website Page Redirection (attached is the box plot), how to get a legend inside the figure panel? Like in a scatter plo…

---

## ["WebIO jupyter extension must be installed using Conda" but the Conda doesn't works](https://discourse.julialang.org/t/webio-jupyter-extension-must-be-installed-using-conda-but-the-conda-doesnt-works/94191)

<div class="topic-metadata">

**Author:** [@Yujin](https://discourse.julialang.org/u/Yujin)\
**Replies:** 1\
**Last updated:** [April 25, 2023, 10:24am UTC](https://discourse.julialang.org/t/webio-jupyter-extension-must-be-installed-using-conda-but-the-conda-doesnt-works/94191 "2023-04-25T10:24:06Z")

</div>

Hi, everyone! I am new to use Julia and trying to use Plots/PyPlot for visualization. But it seemed to be needed to install WebIO for them, so I tried and got in trouble like julia\> WebIO.install\_jupyter\_nbextension() E…

---

## [Redefining a single function broadcast rule?](https://discourse.julialang.org/t/redefining-a-single-function-broadcast-rule/97890)

<div class="topic-metadata">

**Author:** [@RainerHeintzmann](https://discourse.julialang.org/u/RainerHeintzmann)\
**Replies:** 2\
**Last updated:** [April 25, 2023, 10:01am UTC](https://discourse.julialang.org/t/redefining-a-single-function-broadcast-rule/97890 "2023-04-25T10:01:01Z")

</div>

I would like to redefine a single broadcast rule relating to the coalesce. broadcast. The reason is that the ShiftedArray type can return missing or nothing for out-of-bound shifted access. If the user uses coalesce.(my…

---

## [Anaconda startup shell scripts are loaded into Julia REPL by mistake](https://discourse.julialang.org/t/anaconda-startup-shell-scripts-are-loaded-into-julia-repl-by-mistake/51180)

<div class="topic-metadata">

**Author:** [@xjtu-blacksmith](https://discourse.julialang.org/u/xjtu-blacksmith)\
**Replies:** 2\
**Last updated:** [December 3, 2020, 11:22am UTC](https://discourse.julialang.org/t/anaconda-startup-shell-scripts-are-loaded-into-julia-repl-by-mistake/51180 "2020-12-03T11:22:31Z")

</div>

Hi everyone! I’m currently using both Anaconda plugin and Julia plugin in VS Code. When I try to launch a Julia script (through REPL) inside a project where Python scripts exist, Anaconda startup shell scripts would alwa…

---

## [Split a large image into many small images to get training data for a CNN](https://discourse.julialang.org/t/split-a-large-image-into-many-small-images-to-get-training-data-for-a-cnn/97853)

<div class="topic-metadata">

**Author:** [@Kemper](https://discourse.julialang.org/u/Kemper)\
**Replies:** 2\
**Last updated:** [April 25, 2023, 9:12am UTC](https://discourse.julialang.org/t/split-a-large-image-into-many-small-images-to-get-training-data-for-a-cnn/97853 "2023-04-25T09:12:15Z")

</div>

Hey, I Googled, but I think I miss the right terms to find what I am looking for: I want to train a CNN to dedect landforms. I have a .shp file with the landforms for training and want to: a: rasterize it b: split u…

---

## [Text outside of Axis with Makie](https://discourse.julialang.org/t/text-outside-of-axis-with-makie/97888)

<div class="topic-metadata">

**Author:** [@DanielVandH](https://discourse.julialang.org/u/DanielVandH)\
**Replies:** 2\
**Last updated:** [April 25, 2023, 8:59am UTC](https://discourse.julialang.org/t/text-outside-of-axis-with-makie/97888 "2023-04-25T08:59:47Z")

</div>

Is it possible, using Makie.jl, to add text outside of an axis? For instance, in using CairoMakie fig = Figure() ax = Axis(fig\[1, 1\]) I want to add text right on the top-left on the plot outside of the axis itself. I…

---

## [How to manage multiple Julia projects on the same computer](https://discourse.julialang.org/t/how-to-manage-multiple-julia-projects-on-the-same-computer/97855)

<div class="topic-metadata">

**Author:** [@mmv](https://discourse.julialang.org/u/mmv)\
**Replies:** 8\
**Last updated:** [April 25, 2023, 8:53am UTC](https://discourse.julialang.org/t/how-to-manage-multiple-julia-projects-on-the-same-computer/97855 "2023-04-25T08:53:32Z")

</div>

Hi! I got the following error message while preparing for a new Julia (v. 1.8.5) project, MicMac3 ~/Projects/MISR/MISR\_Tools % ls JMTools\_template.jl MicMac3 ~/Projects/MISR/MISR\_Tools % julia \_ \_ …

---

## [Using DiffEqBase.NLSolveTerminationCondition in NonlinearSolve.jl](https://discourse.julialang.org/t/using-diffeqbase-nlsolveterminationcondition-in-nonlinearsolve-jl/97873)

<div class="topic-metadata">

**Author:** [@psterzinger](https://discourse.julialang.org/u/psterzinger)\
**Replies:** 4\
**Last updated:** [April 25, 2023, 7:10am UTC](https://discourse.julialang.org/t/using-diffeqbase-nlsolveterminationcondition-in-nonlinearsolve-jl/97873 "2023-04-25T07:10:16Z")

</div>

I am trying to solve a system of three nonlinear equations and would like to use the termination conditions provided by DiffEqBase.NLSolveTerminationCondition (see the documentation of NonlinearSolve.jl. The function de…

---

## [Specifying broadcast in reduce operations](https://discourse.julialang.org/t/specifying-broadcast-in-reduce-operations/97589)

<div class="topic-metadata">

**Author:** [@RainerHeintzmann](https://discourse.julialang.org/u/RainerHeintzmann)\
**Replies:** 5\
**Last updated:** [April 25, 2023, 6:43am UTC](https://discourse.julialang.org/t/specifying-broadcast-in-reduce-operations/97589 "2023-04-25T06:43:48Z")

</div>

Writing a new CircShiftedArrays package that specified its own BroadcastStyle, I have the trouble that reduce operations such as sum do not get affected by my overloaded functions. I overloaded copyto! and materialize! …

---

## [Add unicode symbol ⟋](https://discourse.julialang.org/t/add-unicode-symbol/97836)

<div class="topic-metadata">

**Author:** [@RaulDurand](https://discourse.julialang.org/u/RaulDurand)\
**Replies:** 6\
**Last updated:** [April 25, 2023, 4:06am UTC](https://discourse.julialang.org/t/add-unicode-symbol/97836 "2023-04-25T04:06:10Z")

</div>

How do I request the addition of a Unicode symbol? I am interested in the symbol “⟋” (U+27CB Mathematical Rising Diagonal) to use in variable names that represent ratios and derivatives. e.g. dF⟋dx = 0.2 dF⟋dy = 0.5 I…

---

## [Memory usage while solving \`JumpProblem\` increases with run time, even with \`save\_positions=(false,false)\`](https://discourse.julialang.org/t/memory-usage-while-solving-jumpproblem-increases-with-run-time-even-with-save-positions-false-false/96656)

<div class="topic-metadata">

**Author:** [@johannesnauta](https://discourse.julialang.org/u/johannesnauta)\
**Replies:** 37\
**Last updated:** [April 25, 2023, 1:23am UTC](https://discourse.julialang.org/t/memory-usage-while-solving-jumpproblem-increases-with-run-time-even-with-save-positions-false-false/96656 "2023-04-25T01:23:11Z")

</div>

I am running into problems regarding memory allocation that depends on the actual runtime of the solver of a stochastic jump process (i.e. it depends on T that defines tspan(0.0,T)). This gives notable performance drops …

---

## [Help with setting up a JuMP model to give an even 'spread' of samples](https://discourse.julialang.org/t/help-with-setting-up-a-jump-model-to-give-an-even-spread-of-samples/97718)

<div class="topic-metadata">

**Author:** [@sdwfrost](https://discourse.julialang.org/u/sdwfrost)\
**Replies:** 3\
**Last updated:** [April 25, 2023, 1:05am UTC](https://discourse.julialang.org/t/help-with-setting-up-a-jump-model-to-give-an-even-spread-of-samples/97718 "2023-04-25T01:05:42Z")

</div>

Hi everyone, I’m trying to learn optimization alongside JuMP syntax, and as a toy problem, I’m trying an integer based problem, in which I have a variable y, with decision variables x (in \[0,1\]), and I want to be able t…

---

## [Cdf of multivariate normal in distributions.jl](https://discourse.julialang.org/t/cdf-of-multivariate-normal-in-distributions-jl/4773)

<div class="topic-metadata">

**Author:** [@newb\_gk](https://discourse.julialang.org/u/newb_gk)\
**Replies:** 24\
**Last updated:** [April 24, 2023, 8:27am UTC](https://discourse.julialang.org/t/cdf-of-multivariate-normal-in-distributions-jl/4773 "2023-04-24T08:27:22Z")

</div>

I’m trying to use the cdf of a multivariate normal distribution using Distributions.jl. While d = Normal(0,1) d2 = MvNormal(\[0.;0.\], \[1. 0.;0. 1.\]) x = \[1. ; 2.\] e1 = cdf(d,x\[1\]) e2 = cdf(d,x\[2\]) works (as long as the…

---

## [Calling Julia program from C and avoiding recompiling](https://discourse.julialang.org/t/calling-julia-program-from-c-and-avoiding-recompiling/97800)

<div class="topic-metadata">

**Author:** [@mb96](https://discourse.julialang.org/u/mb96)\
**Replies:** 2\
**Last updated:** [April 24, 2023, 9:44pm UTC](https://discourse.julialang.org/t/calling-julia-program-from-c-and-avoiding-recompiling/97800 "2023-04-24T21:44:34Z")

</div>

Hi! I am planning on calling my Julia programs from my C script where the calling will have to be done many times. However, I am worried about whether this will mean having to recompile the functions all the time as if …

---

## [New error with CompatHelper](https://discourse.julialang.org/t/new-error-with-compathelper/97757)

<div class="topic-metadata">

**Author:** [@martinmestre](https://discourse.julialang.org/u/martinmestre)\
**Replies:** 11\
**Last updated:** [April 24, 2023, 8:28pm UTC](https://discourse.julialang.org/t/new-error-with-compathelper/97757 "2023-04-24T20:28:30Z")

</div>

The log info of CompatHelper is here. It says that github can’t find my repository, but the referenced link is actually working.

---

## [Saving/loading Flux models with Julia 1.8.x?](https://discourse.julialang.org/t/saving-loading-flux-models-with-julia-1-8-x/89275)

<div class="topic-metadata">

**Author:** [@mcreel](https://discourse.julialang.org/u/mcreel)\
**Replies:** 6\
**Last updated:** [April 24, 2023, 8:20pm UTC](https://discourse.julialang.org/t/saving-loading-flux-models-with-julia-1-8-x/89275 "2023-04-24T20:20:16Z")

</div>

I have been using BSON.jl for saving and loading Flux models, but with Julia 1.8, there is an issue with BSON that appears to be a sticking point (\`setfield!: const field .names of type TypeName cannot be changed\` on Jul…

---

## [Julia Surface or Non-Square Heatmap Plots with Spesific Function](https://discourse.julialang.org/t/julia-surface-or-non-square-heatmap-plots-with-spesific-function/97826)

<div class="topic-metadata">

**Author:** [@Umut\_Can\_Turhan](https://discourse.julialang.org/u/Umut_Can_Turhan)\
**Replies:** 8\
**Last updated:** [April 24, 2023, 8:19pm UTC](https://discourse.julialang.org/t/julia-surface-or-non-square-heatmap-plots-with-spesific-function/97826 "2023-04-24T20:19:29Z")

</div>

Hi! I have some coordinates points (non-grid or non-square): Each scatter points have x values: 74-element Vector{Any}: 13.0 2.0 59.5 55.0 22.0 57.5 21.0 28.0 100.5 35.0 64.0 34.5 23.0 ⋮ 85.5 83.0 66…

---

## [Warning: backend \`PlotlyJS\` is not installed](https://discourse.julialang.org/t/warning-backend-plotlyjs-is-not-installed/97746)

<div class="topic-metadata">

**Author:** [@jianqixi](https://discourse.julialang.org/u/jianqixi)\
**Replies:** 13\
**Last updated:** [April 24, 2023, 8:14pm UTC](https://discourse.julialang.org/t/warning-backend-plotlyjs-is-not-installed/97746 "2023-04-24T20:14:59Z")

</div>

I am trying to using backend of PlotlyJS in my julia code, but it shows the warning: Warning: backend PlotlyJS is not installed. └ @ Plots C:\\Users\\username.julia\\packages\\Plots\\p3KMq\\src\\backends.jl:43 Then there is …

---

## [FLUX.JL -- MethodError: no method matching loss()](https://discourse.julialang.org/t/flux-jl-methoderror-no-method-matching-loss/63478)

<div class="topic-metadata">

**Author:** [@BroccoliFever](https://discourse.julialang.org/u/BroccoliFever)\
**Replies:** 4\
**Last updated:** [April 24, 2023, 6:32pm UTC](https://discourse.julialang.org/t/flux-jl-methoderror-no-method-matching-loss/63478 "2023-04-24T18:32:20Z")

</div>

I have trained CNNs using PyTorch, and I am trying to run a train loop on a simple CNN in Flux for binary (cat/dog) classification, but I cannot for the life of me figure out how to get the loss functions to work in Flux…

---

## [What is the status of pretrained standard models (for machine learning) in the Julia ecosystem?](https://discourse.julialang.org/t/what-is-the-status-of-pretrained-standard-models-for-machine-learning-in-the-julia-ecosystem/97702)

<div class="topic-metadata">

**Author:** [@Euhan](https://discourse.julialang.org/u/Euhan)\
**Replies:** 5\
**Last updated:** [April 24, 2023, 6:23pm UTC](https://discourse.julialang.org/t/what-is-the-status-of-pretrained-standard-models-for-machine-learning-in-the-julia-ecosystem/97702 "2023-04-24T18:23:20Z")

</div>

I have previously tried using Metalhead to take advantage of standard nets, but I haven’t been able to use anything with pretrained weights. Or rather, at the time none of the models I looked at, had weights. What is th…

---

## [Variable Name with Cdot?](https://discourse.julialang.org/t/variable-name-with-cdot/97838)

<div class="topic-metadata">

**Author:** [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Replies:** 6\
**Last updated:** [April 24, 2023, 5:38pm UTC](https://discourse.julialang.org/t/variable-name-with-cdot/97838 "2023-04-24T17:38:39Z")

</div>

This may seem like a silly question. It is not really that important but if its possible I’d like to do it. I am writing some code for a fluid solver and I have terms that represent diffusion and advection. I can write t…

---

## [List of function called](https://discourse.julialang.org/t/list-of-function-called/97858)

<div class="topic-metadata">

**Author:** [@gitboy16](https://discourse.julialang.org/u/gitboy16)\
**Replies:** 2\
**Last updated:** [April 24, 2023, 5:28pm UTC](https://discourse.julialang.org/t/list-of-function-called/97858 "2023-04-24T17:28:18Z")

</div>

Hi, Let’s assume I have a module. I call a function inside that module.(1) This function calls other functions inside that module. 1/ is there a way to know the location/lign where the first function is called (1) 2…

---

## [Julia VS code debugger gets stuck](https://discourse.julialang.org/t/julia-vs-code-debugger-gets-stuck/95449)

<div class="topic-metadata">

**Author:** [@HoldenCaulfield](https://discourse.julialang.org/u/HoldenCaulfield)\
**Replies:** 11\
**Last updated:** [April 24, 2023, 4:46pm UTC](https://discourse.julialang.org/t/julia-vs-code-debugger-gets-stuck/95449 "2023-04-24T16:46:26Z")

</div>

I’m trying to debug my code in VSCode, but the debugger gets stuck and never reaches the breakpoint. My code uses several Julia packages (such as Distributions, Distances, JLD, BoltzmannMachines) and runs in a matter of …

---

## [Iterating over range is slower than while loop](https://discourse.julialang.org/t/iterating-over-range-is-slower-than-while-loop/96991)

<div class="topic-metadata">

**Author:** [@Zentrik](https://discourse.julialang.org/u/Zentrik)\
**Replies:** 7\
**Last updated:** [April 24, 2023, 4:10pm UTC](https://discourse.julialang.org/t/iterating-over-range-is-slower-than-while-loop/96991 "2023-04-24T16:10:14Z")

</div>

using BenchmarkTools, SIMD function test(x) N = 8 c = Vec{N, Float32}(0) lane = VecRange{N}(0) @inbounds @fastmath for i in 1:N:length(x) c += x\[lane + i\] end return sum(c) end functio…

---

## [Tooling for line-by-line memory allocation analysis](https://discourse.julialang.org/t/tooling-for-line-by-line-memory-allocation-analysis/74552)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 15\
**Last updated:** [April 24, 2023, 4:09pm UTC](https://discourse.julialang.org/t/tooling-for-line-by-line-memory-allocation-analysis/74552 "2023-04-24T16:09:55Z")

</div>

I am tracking down an allocation problem in a large codebase. I generated the allocation information as described in the manual, and managed to get all those MallocInfo objects, but I am unsure what to do next. That is,…

---

## [Status of Dash.jl](https://discourse.julialang.org/t/status-of-dash-jl/97806)

<div class="topic-metadata">

**Author:** [@JesperMartinsson](https://discourse.julialang.org/u/JesperMartinsson)\
**Replies:** 3\
**Last updated:** [April 24, 2023, 2:54pm UTC](https://discourse.julialang.org/t/status-of-dash-jl/97806 "2023-04-24T14:54:25Z")

</div>

Anyone knows the status of Dash.jl compared to the python version of it? The docs on the website often refer to python. Does Dash.jl only contain a subset of the python implementation or are the docs for the julia versio…

---

## [Invert a row selection in DataFramesMeta](https://discourse.julialang.org/t/invert-a-row-selection-in-dataframesmeta/97792)

<div class="topic-metadata">

**Author:** [@ForestRaven](https://discourse.julialang.org/u/ForestRaven)\
**Replies:** 3\
**Last updated:** [April 24, 2023, 2:22pm UTC](https://discourse.julialang.org/t/invert-a-row-selection-in-dataframesmeta/97792 "2023-04-24T14:22:50Z")

</div>

Hi, Is there a better way to write this operation: @rsubset d !occursin("julia", :language) I would like to use @subset but do not know how to compose it with the negation. Thanks !

---

## [Power Grid Modeling Research using Julia (Los Alamos National Lab)](https://discourse.julialang.org/t/power-grid-modeling-research-using-julia-los-alamos-national-lab/97859)

<div class="topic-metadata">

**Author:** [@pseudocubic](https://discourse.julialang.org/u/pseudocubic)\
**Replies:** 0\
**Last updated:** [April 24, 2023, 1:55pm UTC](https://discourse.julialang.org/t/power-grid-modeling-research-using-julia-los-alamos-national-lab/97859 "2023-04-24T13:55:54Z")

</div>

Come join the best and brightest minds in the world at one of the most innovative and creative multidisciplinary research institutions engaged in strategic science on behalf of national security. The work we do at Los Al…

---

## [Flux Restructure for ComponentArrays.jl unreasonably slow](https://discourse.julialang.org/t/flux-restructure-for-componentarrays-jl-unreasonably-slow/97849)

<div class="topic-metadata">

**Author:** [@glatteis](https://discourse.julialang.org/u/glatteis)\
**Replies:** 2\
**Last updated:** [April 24, 2023, 12:56pm UTC](https://discourse.julialang.org/t/flux-restructure-for-componentarrays-jl-unreasonably-slow/97849 "2023-04-24T12:56:18Z")

</div>

In some situations, you have to restructure a lot if you use Flux and want to run your batches as seperate solves, not as one big solve, for instance using an EnsembleProblem. You have to use something like a ComponentAr…

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

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