# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=201

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

**Page:** 202

---

## [\[AlgebraOfGraphics.jl\] adding jitter to a scatter plot points](https://discourse.julialang.org/t/algebraofgraphics-jl-adding-jitter-to-a-scatter-plot-points/97310)

<div class="topic-metadata">

**Author:** [@rud-lucien](https://discourse.julialang.org/u/rud-lucien)\
**Replies:** 7\
**Last updated:** [April 11, 2023, 3:20pm UTC](https://discourse.julialang.org/t/algebraofgraphics-jl-adding-jitter-to-a-scatter-plot-points/97310 "2023-04-11T15:20:47Z")

</div>

Hi, I was wondering if anyone knows how (or if it is currently possible) to add jitter to the position of the points in this scatter plot generated with AlgebarOFGraphics.jl? using CairoMakie, AlgebraOfGraphics, DataFr…

---

## [Stockwell and inverse in Julia](https://discourse.julialang.org/t/stockwell-and-inverse-in-julia/97343)

<div class="topic-metadata">

**Author:** [@marianoarnaiz](https://discourse.julialang.org/u/marianoarnaiz)\
**Replies:** 1\
**Last updated:** [April 11, 2023, 12:14pm UTC](https://discourse.julialang.org/t/stockwell-and-inverse-in-julia/97343 "2023-04-11T12:14:53Z")

</div>

Hi all. Anyone has a code to do forward and inverse stockwell transform? Kind regards, M

---

## [Problem combining Unitful and MonteCarloMeasurements](https://discourse.julialang.org/t/problem-combining-unitful-and-montecarlomeasurements/35418)

<div class="topic-metadata">

**Author:** [@klaff](https://discourse.julialang.org/u/klaff)\
**Replies:** 12\
**Last updated:** [April 11, 2023, 10:32am UTC](https://discourse.julialang.org/t/problem-combining-unitful-and-montecarlomeasurements/35418 "2023-04-11T10:32:39Z")

</div>

Consider the functions f1 and f2: using MonteCarloMeasurements using Unitful function f1(Vi) if Vi ≤ 0.0 return 0.0 elseif Vi ≥ 1.0 return 1.0 else Vi end end function f2(Vi) …

---

## [How to combine the legend of multiple axes on same figure into one in Makie.jl?](https://discourse.julialang.org/t/how-to-combine-the-legend-of-multiple-axes-on-same-figure-into-one-in-makie-jl/97299)

<div class="topic-metadata">

**Author:** [@JaydevSR](https://discourse.julialang.org/u/JaydevSR)\
**Replies:** 2\
**Last updated:** [April 11, 2023, 5:54am UTC](https://discourse.julialang.org/t/how-to-combine-the-legend-of-multiple-axes-on-same-figure-into-one-in-makie-jl/97299 "2023-04-11T05:54:04Z")

</div>

I have a few axes on the same figure such that each of them share some common curves. Is there a way I can add a single legend for all of them on the figure such that the curve (following the same label and style) get me…

---

## [Indexing adjoints of CuArrays](https://discourse.julialang.org/t/indexing-adjoints-of-cuarrays/97215)

<div class="topic-metadata">

**Author:** [@MattSainsbury-Dale](https://discourse.julialang.org/u/MattSainsbury-Dale)\
**Replies:** 4\
**Last updated:** [April 10, 2023, 10:21pm UTC](https://discourse.julialang.org/t/indexing-adjoints-of-cuarrays/97215 "2023-04-10T22:21:14Z")

</div>

I was surprised by the following behaviour when indexing CuArrays: using CUDA CUDA.allowscalar(false) x = CUDA.fill(1.0f0, 3, 3) x\[1:2, :\] # works y = x' y\[1:2, :\] # error: scalar indexing is disallowed Is there a rea…

---

## [Why getting Infeasibility row despite it is not!?](https://discourse.julialang.org/t/why-getting-infeasibility-row-despite-it-is-not/97305)

<div class="topic-metadata">

**Author:** [@Optimization](https://discourse.julialang.org/u/Optimization)\
**Replies:** 7\
**Last updated:** [April 10, 2023, 10:12pm UTC](https://discourse.julialang.org/t/why-getting-infeasibility-row-despite-it-is-not/97305 "2023-04-10T22:12:09Z")

</div>

I have a basic vehicle routing problem (VRP) model that I aim to solve using CPLEX and JuMP. Although I manually verified that the problem configuration(including the number of customers, drivers, locations, and costs) i…

---

## [Conda Not installing Matplotlib for PyPlot](https://discourse.julialang.org/t/conda-not-installing-matplotlib-for-pyplot/96813)

<div class="topic-metadata">

**Author:** [@Perrin\_Meyer](https://discourse.julialang.org/u/Perrin_Meyer)\
**Replies:** 13\
**Last updated:** [April 10, 2023, 8:36am UTC](https://discourse.julialang.org/t/conda-not-installing-matplotlib-for-pyplot/96813 "2023-04-10T08:36:36Z")

</div>

I started with a fresh install of Julia 1.9.0-rc1 (I wiped .julia clean) PyCall Conda does not seem to be installing matplotlib correctly. This has worked for me many times before on many different machines…The culprit …

---

## [Nonlinear optimization in JuMP adding the analytic gradient expression](https://discourse.julialang.org/t/nonlinear-optimization-in-jump-adding-the-analytic-gradient-expression/96867)

<div class="topic-metadata">

**Author:** [@mb96](https://discourse.julialang.org/u/mb96)\
**Replies:** 4\
**Last updated:** [April 9, 2023, 8:50pm UTC](https://discourse.julialang.org/t/nonlinear-optimization-in-jump-adding-the-analytic-gradient-expression/96867 "2023-04-09T20:50:04Z")

</div>

Hi, I am trying to solve a highly dimensional nonlinear optimization problem for which I have a function that maps a vector into a value and a its jacobian. I want to solve the problem providing the gradient but I can no…

---

## [Ann: DataFramesMeta.jl v0.14.0 Release](https://discourse.julialang.org/t/ann-dataframesmeta-jl-v0-14-0-release/97285)

<div class="topic-metadata">

**Author:** [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Replies:** 0\
**Last updated:** [April 9, 2023, 6:50pm UTC](https://discourse.julialang.org/t/ann-dataframesmeta-jl-v0-14-0-release/97285 "2023-04-09T18:50:25Z")

</div>

I am please to announce the 0.14.0 release At the outset, I apologize for the breaking change. Adding new features requires a minor version bump, yet because we are 1.0 this requires a breaking release. This is unfortun…

---

## [Tweedie distribution / Tweedie GLM](https://discourse.julialang.org/t/tweedie-distribution-tweedie-glm/44091)

<div class="topic-metadata">

**Author:** [@m-a](https://discourse.julialang.org/u/m-a)\
**Replies:** 2\
**Last updated:** [April 9, 2023, 2:15pm UTC](https://discourse.julialang.org/t/tweedie-distribution-tweedie-glm/44091 "2023-04-09T14:15:05Z")

</div>

I’m interested in fitting a GLM via GLM.jl with a Tweedie distribution (Tweedie distribution - Wikipedia), particularly when the domain of the index parameter is not a special case that’s already available. Something lik…

---

## [Announcement: econometrics notes, and another econometrics.jl](https://discourse.julialang.org/t/announcement-econometrics-notes-and-another-econometrics-jl/5348)

<div class="topic-metadata">

**Author:** [@mcreel](https://discourse.julialang.org/u/mcreel)\
**Replies:** 8\
**Last updated:** [April 9, 2023, 11:20am UTC](https://discourse.julialang.org/t/announcement-econometrics-notes-and-another-econometrics-jl/5348 "2023-04-09T11:20:17Z")

</div>

Another econometrics resource that uses Julia: I am adapting my graduate level teaching notes so that the examples use Julia. These notes are at the first year Ph.D. level, and cover basic topics such as linear regressio…

---

## [Problem with Genie newapp\_mvc()](https://discourse.julialang.org/t/problem-with-genie-newapp-mvc/96521)

<div class="topic-metadata">

**Author:** [@J\_Braulio\_Ramz\_G](https://discourse.julialang.org/u/J_Braulio_Ramz_G)\
**Replies:** 1\
**Last updated:** [April 8, 2023, 11:38pm UTC](https://discourse.julialang.org/t/problem-with-genie-newapp-mvc/96521 "2023-04-08T23:38:23Z")

</div>

hi, I’m trying to replicate from: GitHub - essenciary/genie-watch-tonight , but I’m getting this: julia\> Genie.newapp\_mvc("Watch tonight") ERROR: UndefVarError: newapp\_mvc not defined Stacktrace: \[1\] getproperty(x::Mod…

---

## [Problem with Metalhead.jl](https://discourse.julialang.org/t/problem-with-metalhead-jl/97259)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [April 8, 2023, 9:00pm UTC](https://discourse.julialang.org/t/problem-with-metalhead-jl/97259 "2023-04-08T21:00:59Z")

</div>

I try to run this code: GPU vs CPU benchmarks with Flux.jl But executing: using Metalhead, Images using Metalhead: trainimgs fails with: julia\> using Metalhead: trainimgs ERROR: UndefVarError: \`trainimgs\` not defined…

---

## [Listview grouping popup window examples](https://discourse.julialang.org/t/listview-grouping-popup-window-examples/96092)

<div class="topic-metadata">

**Author:** [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Replies:** 5\
**Last updated:** [March 18, 2023, 12:05pm UTC](https://discourse.julialang.org/t/listview-grouping-popup-window-examples/96092 "2023-03-18T12:05:32Z")

</div>

When running a closed-loop menu-driven program, that runs on the REPL and in which different types of data items are loaded, created, deleted, etc., I would like to keep track of them in a grouped listview popup window. …

---

## [Ignore derivatives in ReverseDiff](https://discourse.julialang.org/t/ignore-derivatives-in-reversediff/97252)

<div class="topic-metadata">

**Author:** [@skrinkle](https://discourse.julialang.org/u/skrinkle)\
**Replies:** 0\
**Last updated:** [April 8, 2023, 5:30pm UTC](https://discourse.julialang.org/t/ignore-derivatives-in-reversediff/97252 "2023-04-08T17:30:26Z")

</div>

I want to exclude some functions in my model code from gradient calculations, using @ignore\_derivatives from ChainRulesCore. It works with Zygote, but not with ReverseDiff. Here’s a MWE. using Zygote, ReverseDiff import…

---

## [Obtain Power Spectrum from Voltage Timeseries](https://discourse.julialang.org/t/obtain-power-spectrum-from-voltage-timeseries/97064)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 7\
**Last updated:** [April 8, 2023, 5:20pm UTC](https://discourse.julialang.org/t/obtain-power-spectrum-from-voltage-timeseries/97064 "2023-04-08T17:20:38Z")

</div>

I want to obtain Power spectrum of the Voltage Timeseries of Vela Pulsar data given in picture below :thinking: How should i implement FFTW ?

---

## [IntervalRootFinding -- Multithreading causes random errors?](https://discourse.julialang.org/t/intervalrootfinding-multithreading-causes-random-errors/97247)

<div class="topic-metadata">

**Author:** [@Shmuley95](https://discourse.julialang.org/u/Shmuley95)\
**Replies:** 4\
**Last updated:** [April 8, 2023, 3:23pm UTC](https://discourse.julialang.org/t/intervalrootfinding-multithreading-causes-random-errors/97247 "2023-04-08T15:23:51Z")

</div>

I have found some erratic behaviour for the IntervalRootFinding.jl package when using multithreading. Specifically, when using multiple threads, the roots interface will sometimes return either false positives for non-ex…

---

## [Weird behavior of ArbNumerics returning nan](https://discourse.julialang.org/t/weird-behavior-of-arbnumerics-returning-nan/97114)

<div class="topic-metadata">

**Author:** [@roi.holtzman](https://discourse.julialang.org/u/roi.holtzman)\
**Replies:** 11\
**Last updated:** [April 8, 2023, 12:30pm UTC](https://discourse.julialang.org/t/weird-behavior-of-arbnumerics-returning-nan/97114 "2023-04-08T12:30:41Z")

</div>

I want to use elliptic integrals with complex arguments, and for that, I am using ArbNumerics.jl (as suggested in this post). The issue is that I get nan for a reason I do not understand. This code works great: ArbNum…

---

## [JuMP with nonlinear vector constraints?](https://discourse.julialang.org/t/jump-with-nonlinear-vector-constraints/97223)

<div class="topic-metadata">

**Author:** [@irudik](https://discourse.julialang.org/u/irudik)\
**Replies:** 2\
**Last updated:** [April 8, 2023, 12:25pm UTC](https://discourse.julialang.org/t/jump-with-nonlinear-vector-constraints/97223 "2023-04-08T12:25:44Z")

</div>

This question is related to this old post, but I’m wondering if JuMP can now handle vector-valued nonlinear functions for constraints. I have a large scale problem where a nonlinear function of the variables x, multiplie…

---

## [SDDP simulation command](https://discourse.julialang.org/t/sddp-simulation-command/97197)

<div class="topic-metadata">

**Author:** [@Sorooshsa](https://discourse.julialang.org/u/Sorooshsa)\
**Replies:** 5\
**Last updated:** [April 8, 2023, 8:49am UTC](https://discourse.julialang.org/t/sddp-simulation-command/97197 "2023-04-08T08:49:27Z")

</div>

Hello everyone, I am using Julia and SDDP library to solve a multi-stage stochastic optimization model. The water inflow is my random variable. At the end of the SDDP, I used SDDP.train command to train the model. The…

---

## [Converting Tensorflow RNN to Flux](https://discourse.julialang.org/t/converting-tensorflow-rnn-to-flux/97236)

<div class="topic-metadata">

**Author:** [@Steve\_Lohrenz](https://discourse.julialang.org/u/Steve_Lohrenz)\
**Replies:** 0\
**Last updated:** [April 7, 2023, 8:09pm UTC](https://discourse.julialang.org/t/converting-tensorflow-rnn-to-flux/97236 "2023-04-07T20:09:13Z")

</div>

I am trying to create an RNN to predict the Google stock price based on the opening price for each day. I am following a tutorial where they do it in Tensorflow, and I am trying to do the same in Flux. My training data…

---

## [CUDA.jl crashes if a 4d FFT is asked](https://discourse.julialang.org/t/cuda-jl-crashes-if-a-4d-fft-is-asked/97165)

<div class="topic-metadata">

**Author:** [@shiroghost](https://discourse.julialang.org/u/shiroghost)\
**Replies:** 2\
**Last updated:** [April 7, 2023, 9:42pm UTC](https://discourse.julialang.org/t/cuda-jl-crashes-if-a-4d-fft-is-asked/97165 "2023-04-07T21:42:04Z")

</div>

Hi, It seems that CUDA.jl and FFTW.jl do not work for Arrays with dimensions larger than 3: julia\> b = randn(8, 8, 8); julia\> cb = CuArray(b); julia\> fft(b); julia\> fft(cb); julia\> sum(fft(b) .- Array(fft(cb))) 3.31956…

---

## [Catalyst.jl VariableRateJump](https://discourse.julialang.org/t/catalyst-jl-variableratejump/97127)

<div class="topic-metadata">

**Author:** [@arnold-c](https://discourse.julialang.org/u/arnold-c)\
**Replies:** 5\
**Last updated:** [April 7, 2023, 1:48pm UTC](https://discourse.julialang.org/t/catalyst-jl-variableratejump/97127 "2023-04-07T13:48:02Z")

</div>

I’m trying to code up a JumpProcess of an SIR-style model that includes a VariableRateJump e.g. the transmission parameter varies throughout the year in a sinusoidal fashion. I have what I think is working code manually …

---

## [Has the categorical! function in DataFrames.jl been relegated?](https://discourse.julialang.org/t/has-the-categorical-function-in-dataframes-jl-been-relegated/97196)

<div class="topic-metadata">

**Author:** [@rud-lucien](https://discourse.julialang.org/u/rud-lucien)\
**Replies:** 2\
**Last updated:** [April 7, 2023, 1:23pm UTC](https://discourse.julialang.org/t/has-the-categorical-function-in-dataframes-jl-been-relegated/97196 "2023-04-07T13:23:50Z")

</div>

Hi, I was looking around for a quick way to convert columns of data in a DataFrame into categorical data and found and example in this link. However, when I tried it in my REPL, it didn’t work. Just wondering if this f…

---

## [Nesting and unnesting DataFrames](https://discourse.julialang.org/t/nesting-and-unnesting-dataframes/95722)

<div class="topic-metadata">

**Author:** [@mreichMPI-BGC](https://discourse.julialang.org/u/mreichMPI-BGC)\
**Replies:** 10\
**Last updated:** [April 6, 2023, 9:48pm UTC](https://discourse.julialang.org/t/nesting-and-unnesting-dataframes/95722 "2023-04-06T21:48:53Z")

</div>

Dear Julia community, I wonder if one can reproduce the nest and unnest functionality of TidyR. I have seen the nice related blog Nesting and unnesting columns in DataFrames.jl | Blog by Bogumił Kamiński, which however …

---

## [KrylovKit convergence](https://discourse.julialang.org/t/krylovkit-convergence/97078)

<div class="topic-metadata">

**Author:** [@alfredmallet](https://discourse.julialang.org/u/alfredmallet)\
**Replies:** 6\
**Last updated:** [April 5, 2023, 9:56pm UTC](https://discourse.julialang.org/t/krylovkit-convergence/97078 "2023-04-05T21:56:03Z")

</div>

Hello, I have just started learning Julia, and I am attempting to use it to solve a one-dimensional eigenvalue problem in my field, plasma physics (specifically, the tearing mode, if anyone is interested). The problem i…

---

## [Avoiding mutation in time course simulations - Zygote](https://discourse.julialang.org/t/avoiding-mutation-in-time-course-simulations-zygote/97141)

<div class="topic-metadata">

**Author:** [@Bill\_Holmes](https://discourse.julialang.org/u/Bill_Holmes)\
**Replies:** 1\
**Last updated:** [April 5, 2023, 11:15pm UTC](https://discourse.julialang.org/t/avoiding-mutation-in-time-course-simulations-zygote/97141 "2023-04-05T23:15:07Z")

</div>

Hello all. Yes, this is another question about avoiding mutation when using Zygote for AD. I am working on a problem where I will eventually need to differentiate through a time dependent simulation. As a toy problem con…

---

## [Porting multi-level regression with poststratification (MRP) tutorial from rstanarm](https://discourse.julialang.org/t/porting-multi-level-regression-with-poststratification-mrp-tutorial-from-rstanarm/96689)

<div class="topic-metadata">

**Author:** [@jfhawkin](https://discourse.julialang.org/u/jfhawkin)\
**Replies:** 7\
**Last updated:** [April 5, 2023, 10:15pm UTC](https://discourse.julialang.org/t/porting-multi-level-regression-with-poststratification-mrp-tutorial-from-rstanarm/96689 "2023-04-05T22:15:08Z")

</div>

I am working to port a tutorial on MRP from rstanarm to Turing. I’m also just getting started on Julia, so it’s an opportunity to learn the language at the same time. I’ve estimated a few models in Stan and have some fa…

---

## [Nesting \`Threads.@thread\` and \`Polyester.@batch\` (or context manager to limit Polyester threads)](https://discourse.julialang.org/t/nesting-threads-thread-and-polyester-batch-or-context-manager-to-limit-polyester-threads/84490)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 7\
**Last updated:** [April 5, 2023, 7:07pm UTC](https://discourse.julialang.org/t/nesting-threads-thread-and-polyester-batch-or-context-manager-to-limit-polyester-threads/84490 "2023-04-05T19:07:02Z")

</div>

How dangerous is it to run Polyester.@batch inside of a Threads.@thread? An example where I might need this: a library implements a low level function that uses Polyester for multithreading, and I want to run multiple s…

---

## [Adding extra objectives in JuMP](https://discourse.julialang.org/t/adding-extra-objectives-in-jump/67767)

<div class="topic-metadata">

**Author:** [@dbomahn](https://discourse.julialang.org/u/dbomahn)\
**Replies:** 3\
**Last updated:** [April 5, 2023, 6:42pm UTC](https://discourse.julialang.org/t/adding-extra-objectives-in-jump/67767 "2023-04-05T18:42:36Z")

</div>

Hello, I found that CPLEX 12.9 or later versions allow us to build a model with multiple objectives (not summing up the objectives by giving weights) and wanted to export the model to an LP file of CPLEX multi-objective…

[Previous page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=200)

[Next page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=202)
