# Specific Domains

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

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

**Page:** 386

---

## [Is there a way to lock the version of python packages](https://discourse.julialang.org/t/is-there-a-way-to-lock-the-version-of-python-packages/35784)

<div class="topic-metadata">

**Author:** [@Shih\_Shen](https://discourse.julialang.org/u/Shih_Shen)\
**Replies:** 5\
**Last updated:** [March 1, 2021, 6:42am UTC](https://discourse.julialang.org/t/is-there-a-way-to-lock-the-version-of-python-packages/35784 "2021-03-01T06:42:30Z")

</div>

Julia has provided a way to lock the version of Julia packages which is great. However, I found I still need python packages to finish my works sometimes. And in order to use Julia in production, locking the version of d…

---

## [Projecting and interpolating data to a regular grid](https://discourse.julialang.org/t/projecting-and-interpolating-data-to-a-regular-grid/56162)

<div class="topic-metadata">

**Author:** [@johnbb](https://discourse.julialang.org/u/johnbb)\
**Replies:** 9\
**Last updated:** [February 28, 2021, 11:11pm UTC](https://discourse.julialang.org/t/projecting-and-interpolating-data-to-a-regular-grid/56162 "2021-02-28T23:11:31Z")

</div>

I have (multiple) data on a regular latlon grid which I want to project with a Lambert conformal conic projection and interpolate to a regular grid. Is using the Proj4 and Interpolations packages an appropriate option or…

---

## [Flux: Embeddings on GPU](https://discourse.julialang.org/t/flux-embeddings-on-gpu/55280)

<div class="topic-metadata">

**Author:** [@johnbb](https://discourse.julialang.org/u/johnbb)\
**Replies:** 5\
**Last updated:** [February 28, 2021, 7:17pm UTC](https://discourse.julialang.org/t/flux-embeddings-on-gpu/55280 "2021-02-28T19:17:57Z")

</div>

In a regression model I would like to use embeddings for the categorical variables. My current implementation is like the simplified example below. On CPU it works seemingly fine. Any suggestions for improvement are welc…

---

## [Return Noise used in SDE Solution](https://discourse.julialang.org/t/return-noise-used-in-sde-solution/56167)

<div class="topic-metadata">

**Author:** [@jshackle](https://discourse.julialang.org/u/jshackle)\
**Replies:** 1\
**Last updated:** [February 28, 2021, 2:33pm UTC](https://discourse.julialang.org/t/return-noise-used-in-sde-solution/56167 "2021-02-28T14:33:22Z")

</div>

Is there anyway to find what noise terms are used in an SDE solver? I’d like to be able to double check the noise is behaving the way I think it is.

---

## [How to use quasar notify in Genie](https://discourse.julialang.org/t/how-to-use-quasar-notify-in-genie/56138)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 2\
**Last updated:** [February 28, 2021, 1:53pm UTC](https://discourse.julialang.org/t/how-to-use-quasar-notify-in-genie/56138 "2021-02-28T13:53:59Z")

</div>

I want to add some feedback to the user when things work or don’t work as expected. How exactly can I make use of quasar’s notify in a Genie app? For example, I have a file upload, where the file is a toml file with sp…

---

## [Extracting xticks from a plot handle](https://discourse.julialang.org/t/extracting-xticks-from-a-plot-handle/56183)

<div class="topic-metadata">

**Author:** [@matvil](https://discourse.julialang.org/u/matvil)\
**Replies:** 0\
**Last updated:** [February 28, 2021, 11:46am UTC](https://discourse.julialang.org/t/extracting-xticks-from-a-plot-handle/56183 "2021-02-28T11:46:20Z")

</div>

I would like to extract the vector of xticks values from a plot. I am using the GR backend. For xlim I can do this: h = plot(randn(10)) xlims(h) # returns a tuple with the two limits xlims!(h, (-10,10)) # modifies xl…

---

## [Update Genie webpage in a asynchrounous loop](https://discourse.julialang.org/t/update-genie-webpage-in-a-asynchrounous-loop/55780)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 18\
**Last updated:** [February 28, 2021, 10:07am UTC](https://discourse.julialang.org/t/update-genie-webpage-in-a-asynchrounous-loop/55780 "2021-02-28T10:07:24Z")

</div>

I’m trying to update an image in an asynchronously loop in a Genie (Stipple) app. I’ve tried different approaches, none successful. I’ve therefore created the following MWE (based on your solution to my last question, @h…

---

## [Symbolic rewriting, expanding and collecting](https://discourse.julialang.org/t/symbolic-rewriting-expanding-and-collecting/55503)

<div class="topic-metadata">

**Author:** [@Janis\_Erdmanis](https://discourse.julialang.org/u/Janis_Erdmanis)\
**Replies:** 11\
**Last updated:** [February 27, 2021, 5:47pm UTC](https://discourse.julialang.org/t/symbolic-rewriting-expanding-and-collecting/55503 "2021-02-27T17:47:42Z")

</div>

Hi! I need to revise a lot of mundane analytical calculations which I guess could be automated. In its essence, I have three sets of symbols: operators E, X, C, S \\in \\rm{Op}, sigma matrices \\eta\_x, \\eta\_y, \\eta\_z \\in S…

---

## [How to adjust the X-axis order of boxplot with StatsPlots.jl](https://discourse.julialang.org/t/how-to-adjust-the-x-axis-order-of-boxplot-with-statsplots-jl/56065)

<div class="topic-metadata">

**Author:** [@Shuhua](https://discourse.julialang.org/u/Shuhua)\
**Replies:** 9\
**Last updated:** [February 27, 2021, 7:37am UTC](https://discourse.julialang.org/t/how-to-adjust-the-x-axis-order-of-boxplot-with-statsplots-jl/56065 "2021-02-27T07:37:24Z")

</div>

using Plots, StatsPlots, DataFrames df = DataFrame( id=repeat(\[3, 17, 21\], inner=10), value=randn(30) ) @df df boxplot(string.(:id), :value, fillalpha=0.75, linewidth=1) The result is I want the box to be 3…

---

## [World age error using urldownload to read a zip file](https://discourse.julialang.org/t/world-age-error-using-urldownload-to-read-a-zip-file/56111)

<div class="topic-metadata">

**Author:** [@brianguenter](https://discourse.julialang.org/u/brianguenter)\
**Replies:** 4\
**Last updated:** [February 26, 2021, 11:12pm UTC](https://discourse.julialang.org/t/world-age-error-using-urldownload-to-read-a-zip-file/56111 "2021-02-26T23:12:23Z")

</div>

I am getting a world age error when using urldownload (from package UrlDownload). Does anybody know why this might happen? Here’s the error message: ‘’’ Info: tmp ERROR: LoadError: MethodError: no method matching eof…

---

## [Passing an Arrow Table from Python to Julia](https://discourse.julialang.org/t/passing-an-arrow-table-from-python-to-julia/56104)

<div class="topic-metadata">

**Author:** [@Satvik](https://discourse.julialang.org/u/Satvik)\
**Replies:** 2\
**Last updated:** [February 26, 2021, 9:30pm UTC](https://discourse.julialang.org/t/passing-an-arrow-table-from-python-to-julia/56104 "2021-02-26T21:30:02Z")

</div>

Hi, I have a Python job that calls Julia for some computation on my datasets. Right now, passing data back and forth between Julia and Python is a bottleneck – my current process is to save the Pandas DataFrame as a fea…

---

## [Makie limits in a 3D scene](https://discourse.julialang.org/t/makie-limits-in-a-3d-scene/56099)

<div class="topic-metadata">

**Author:** [@lazarusA](https://discourse.julialang.org/u/lazarusA)\
**Replies:** 5\
**Last updated:** [February 26, 2021, 5:24pm UTC](https://discourse.julialang.org/t/makie-limits-in-a-3d-scene/56099 "2021-02-26T17:24:50Z")

</div>

Hello, two questions. I found that if I define the following limits for an LScene, let’s say something like surface(-1:0.1:1, -1:0.1:1, 2\*rand(21,21) .-1, limits = FRect((-1,-1,-1), (2,2,2))) I can get limits for x,y,…

---

## [Makie depth order sorting](https://discourse.julialang.org/t/makie-depth-order-sorting/56103)

<div class="topic-metadata">

**Author:** [@lazarusA](https://discourse.julialang.org/u/lazarusA)\
**Replies:** 2\
**Last updated:** [February 26, 2021, 5:18pm UTC](https://discourse.julialang.org/t/makie-depth-order-sorting/56103 "2021-02-26T17:18:59Z")

</div>

Hello, I’m currently plotting several transparent surfaces in a LScene in order to get the appropriate depth order I need to plot them in a specific order, lets say for two surfaces, one in the back and one in the front…

---

## [Hessian inside a Flux loss function](https://discourse.julialang.org/t/hessian-inside-a-flux-loss-function/56043)

<div class="topic-metadata">

**Author:** [@arlk](https://discourse.julialang.org/u/arlk)\
**Replies:** 3\
**Last updated:** [February 26, 2021, 4:21pm UTC](https://discourse.julialang.org/t/hessian-inside-a-flux-loss-function/56043 "2021-02-26T16:21:50Z")

</div>

MWE (or as minimal as I can think to make it): using Flux import ForwardDiff, Zygote g = Dense(2, 1, softplus) loss(m, x) = sum(abs2, Zygote.hessian(x-\>sum(m(x)), x)) gradient(g, rand(2)) do m, x loss(m, x) end Bot…

---

## [How to enforce weight matrix to be of a certain form (train a subset) in Flux?](https://discourse.julialang.org/t/how-to-enforce-weight-matrix-to-be-of-a-certain-form-train-a-subset-in-flux/33197)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 5\
**Last updated:** [February 26, 2021, 3:02pm UTC](https://discourse.julialang.org/t/how-to-enforce-weight-matrix-to-be-of-a-certain-form-train-a-subset-in-flux/33197 "2021-02-26T15:02:03Z")

</div>

For example, I want a layer specified by a symmetric or a tridiagonal matrix. Obviously, train! does not know about it, and an error is raised: ArgumentError: cannot set entry (3, 1) off the tridiagonal band to a nonzer…

---

## [Flag colors](https://discourse.julialang.org/t/flag-colors/55853)

<div class="topic-metadata">

**Author:** [@gustaphe](https://discourse.julialang.org/u/gustaphe)\
**Replies:** 7\
**Last updated:** [February 25, 2021, 7:06pm UTC](https://discourse.julialang.org/t/flag-colors/55853 "2021-02-25T19:06:35Z")

</div>

I made another dumb thing. Here’s a collection of flag colors. Do you think something like this would be useful to you? Is this a reasonable way to use it, or should it hook in to some other Colors functionality?

---

## [Turing fails to precompile](https://discourse.julialang.org/t/turing-fails-to-precompile/56011)

<div class="topic-metadata">

**Author:** [@marouane1994](https://discourse.julialang.org/u/marouane1994)\
**Replies:** 4\
**Last updated:** [February 25, 2021, 6:24pm UTC](https://discourse.julialang.org/t/turing-fails-to-precompile/56011 "2021-02-25T18:24:07Z")

</div>

I just installed Julia 1.5 and i started to add the packages and i added Turing.jl but when i type: julia\> using Turing i get this message: \[ Info: Precompiling Turing \[fce5fe82-541a-59a6-adf8-730c64b5f9a0\] ERROR: Loa…

---

## [\[video\] A beginners guide to Bayesian Cognitive Modelling](https://discourse.julialang.org/t/video-a-beginners-guide-to-bayesian-cognitive-modelling/56025)

<div class="topic-metadata">

**Author:** [@drbenvincent](https://discourse.julialang.org/u/drbenvincent)\
**Replies:** 4\
**Last updated:** [February 25, 2021, 5:52pm UTC](https://discourse.julialang.org/t/video-a-beginners-guide-to-bayesian-cognitive-modelling/56025 "2021-02-25T17:52:49Z")

</div>

Just in case people here are interested, here is a video of a seminar talk I was invited to give to the Psychology department at the University of Leicester, UK. I go through some examples using Julia and Turing. As well…

---

## [Makie record without live plotting / sleep = false not implemented](https://discourse.julialang.org/t/makie-record-without-live-plotting-sleep-false-not-implemented/55991)

<div class="topic-metadata">

**Author:** [@lazarusA](https://discourse.julialang.org/u/lazarusA)\
**Replies:** 2\
**Last updated:** [February 25, 2021, 3:17pm UTC](https://discourse.julialang.org/t/makie-record-without-live-plotting-sleep-false-not-implemented/55991 "2021-02-25T15:17:23Z")

</div>

Related to this question I did look into the source code and it seems like the option sleep = true or false is not implemented in order to avoid the live plotting. Is there another way to obtain the same effect ?

---

## [Countour/Contourf](https://discourse.julialang.org/t/countour-contourf/55933)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 16\
**Last updated:** [February 25, 2021, 12:36pm UTC](https://discourse.julialang.org/t/countour-contourf/55933 "2021-02-25T12:36:37Z")

</div>

Plots.Controur() allows x,y,z to be Vector{Float64}. AbstractPlotting.Contour() chokes when I swap out the Plots version for the Makie version. ERROR: There was no \`AbstractPlotting.convert\_arguments\` overload found fo…

---

## [How to create a MLJModelInterface.Model interface of a complex model?](https://discourse.julialang.org/t/how-to-create-a-mljmodelinterface-model-interface-of-a-complex-model/55860)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 1\
**Last updated:** [February 25, 2021, 10:26am UTC](https://discourse.julialang.org/t/how-to-create-a-mljmodelinterface-model-interface-of-a-complex-model/55860 "2021-02-25T10:26:19Z")

</div>

Hi there, I am trying to build a MLJ interface for some ML algorithms in the BetaML package. I am starting from the Decision Trees, but I have a few questions. The function creating (and fitting) the tree is: buildTr…

---

## [Directly applying CuFFT on StructArrays](https://discourse.julialang.org/t/directly-applying-cufft-on-structarrays/55977)

<div class="topic-metadata">

**Author:** [@weylspinor](https://discourse.julialang.org/u/weylspinor)\
**Replies:** 1\
**Last updated:** [February 25, 2021, 7:43am UTC](https://discourse.julialang.org/t/directly-applying-cufft-on-structarrays/55977 "2021-02-25T07:43:43Z")

</div>

I wonder if there is a way to use CuFFT directly on StructArrays{\<:Complex}. Currently, if I write e.g. using CUDA, StructArrays x\_re = rand(Float32, 10); x\_im = rand(Float32, 10); x = StructArray{ComplexF32}((x\_re,x\_im…

---

## [Makie record a video with audio](https://discourse.julialang.org/t/makie-record-a-video-with-audio/55990)

<div class="topic-metadata">

**Author:** [@lazarusA](https://discourse.julialang.org/u/lazarusA)\
**Replies:** 0\
**Last updated:** [February 25, 2021, 7:31am UTC](https://discourse.julialang.org/t/makie-record-a-video-with-audio/55990 "2021-02-25T07:31:20Z")

</div>

Hello, I know that the the record function one cannot include also some audio. Any suggestions for a work around ?

---

## [Makie.jl: Limiting height of Colorbar to that of a nearby equal-aspect axis](https://discourse.julialang.org/t/makie-jl-limiting-height-of-colorbar-to-that-of-a-nearby-equal-aspect-axis/55876)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 6\
**Last updated:** [February 25, 2021, 6:57am UTC](https://discourse.julialang.org/t/makie-jl-limiting-height-of-colorbar-to-that-of-a-nearby-equal-aspect-axis/55876 "2021-02-25T06:57:52Z")

</div>

Hi there, I have the following code: fig, abmstepper = abm\_plot(model) ax, hm = heatmap(fig\[1,2\], model.sugar\_capacities; colormap=cgrad(:thermal)) ax.aspect = AxisAspect(1) # equal aspect ratio for heatmap Colorbar(fi…

---

## ["Learning Bayesian Statistics" podcast episode](https://discourse.julialang.org/t/learning-bayesian-statistics-podcast-episode/37229)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 4\
**Last updated:** [February 25, 2021, 12:54am UTC](https://discourse.julialang.org/t/learning-bayesian-statistics-podcast-episode/37229 "2021-02-25T00:54:05Z")

</div>

I was invited as a guest on this podcast, got to talk a lot about Julia. Episode is #13 Building a Probabilistic Programming Framework in Julia, with Chad Scherrer We talk about Soss, the design and ecosystem of Julia…

---

## [CairoMakie and Fontconfig](https://discourse.julialang.org/t/cairomakie-and-fontconfig/55931)

<div class="topic-metadata">

**Author:** [@Libbum](https://discourse.julialang.org/u/Libbum)\
**Replies:** 16\
**Last updated:** [February 24, 2021, 11:49pm UTC](https://discourse.julialang.org/t/cairomakie-and-fontconfig/55931 "2021-02-24T23:49:30Z")

</div>

Hi all. Just wondering if this is a known problem that can be easily fixed, or if it’s a bug. Using Github CI tools, we use Documenter.jl to run and build examples. Recently all of our plotting has moved over to Makie …

---

## [How to save results for each outcome?](https://discourse.julialang.org/t/how-to-save-results-for-each-outcome/55914)

<div class="topic-metadata">

**Author:** [@younghan-lee](https://discourse.julialang.org/u/younghan-lee)\
**Replies:** 10\
**Last updated:** [February 24, 2021, 11:43am UTC](https://discourse.julialang.org/t/how-to-save-results-for-each-outcome/55914 "2021-02-24T11:43:34Z")

</div>

I am trying to save results for each outcome. For example, list = \[:A, :B\] for i in 1:length(list) result$i = lm((@eval @formula($i ~ x1 + x2)), data) end So that I can save the results for each outcome like resul…

---

## [How to plot credible intervals for MCMCChains?](https://discourse.julialang.org/t/how-to-plot-credible-intervals-for-mcmcchains/55639)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Replies:** 3\
**Last updated:** [February 23, 2021, 11:58pm UTC](https://discourse.julialang.org/t/how-to-plot-credible-intervals-for-mcmcchains/55639 "2021-02-23T23:58:25Z")

</div>

Is there a way to get plots of intervals given mysample::MCMCChains.Chains? I’m looking for something like the following from stan:

---

## [How to plot a multivariate normal distribution?](https://discourse.julialang.org/t/how-to-plot-a-multivariate-normal-distribution/35486)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 6\
**Last updated:** [February 23, 2021, 11:37pm UTC](https://discourse.julialang.org/t/how-to-plot-a-multivariate-normal-distribution/35486 "2021-02-23T23:37:34Z")

</div>

Plotting univariate distributions is really simple: using Distributions using StatsPlots norm = fit(Normal, rand(100)) plot(norm) However, how would I plot a multivariate distribution? The above code doesn’t work for …

---

## [What is the difference between Zygote vs ForwardDiff and ReverseDiff](https://discourse.julialang.org/t/what-is-the-difference-between-zygote-vs-forwarddiff-and-reversediff/55789)

<div class="topic-metadata">

**Author:** [@qft](https://discourse.julialang.org/u/qft)\
**Replies:** 4\
**Last updated:** [February 23, 2021, 11:27pm UTC](https://discourse.julialang.org/t/what-is-the-difference-between-zygote-vs-forwarddiff-and-reversediff/55789 "2021-02-23T23:27:28Z")

</div>

As far as I can tell from the documentation, both ForwardDiff and ReverseDiff can already do automatic differentiation on arbitrary Julia functions. Also Zygote depends on ForwardDiff. What unique feature does Zygote bri…

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

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