# Specific Domains

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

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

**Page:** 360

---

## [Interact.jl, WebIO.jl not working in jupyterlab \>=3](https://discourse.julialang.org/t/interact-jl-webio-jl-not-working-in-jupyterlab-3/62626)

<div class="topic-metadata">

**Author:** [@PaulN](https://discourse.julialang.org/u/PaulN)\
**Replies:** 0\
**Last updated:** [June 9, 2021, 2:21pm UTC](https://discourse.julialang.org/t/interact-jl-webio-jl-not-working-in-jupyterlab-3/62626 "2021-06-09T14:21:48Z")

</div>

Although Interact works great for Jupyterlab \<3, I cannot install it for jupyterlab 3.10a11. Here is my current config: from conda: $ jupyter --version jupyter core : 4.6.3 jupyter-notebook : 6.1.4 qtconsole : 4.7.…

---

## [How come Flux.jl's network parameters go to NaN?](https://discourse.julialang.org/t/how-come-flux-jls-network-parameters-go-to-nan/16439)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 10\
**Last updated:** [June 9, 2021, 3:25am UTC](https://discourse.julialang.org/t/how-come-flux-jls-network-parameters-go-to-nan/16439 "2021-06-09T03:25:27Z")

</div>

I am trying to train a neural and the code is quite large and I can’t seem to find a way to reproduce an MWE at the moment. But basically Flux.train!(loss, res\_vec, opt) gives an error of Loss is NaN and when I check the…

---

## [Axes breaks in Gadfly or VegaLite](https://discourse.julialang.org/t/axes-breaks-in-gadfly-or-vegalite/62599)

<div class="topic-metadata">

**Author:** [@fnbillimoria](https://discourse.julialang.org/u/fnbillimoria)\
**Replies:** 0\
**Last updated:** [June 9, 2021, 2:05am UTC](https://discourse.julialang.org/t/axes-breaks-in-gadfly-or-vegalite/62599 "2021-06-09T02:05:30Z")

</div>

Are there ways to create a break in axes in the Gadfly or VegaLite packages?

---

## [Oddly rotated labels using GLMakie](https://discourse.julialang.org/t/oddly-rotated-labels-using-glmakie/62394)

<div class="topic-metadata">

**Author:** [@danielmatz](https://discourse.julialang.org/u/danielmatz)\
**Replies:** 9\
**Last updated:** [June 8, 2021, 9:16pm UTC](https://discourse.julialang.org/t/oddly-rotated-labels-using-glmakie/62394 "2021-06-08T21:16:14Z")

</div>

When I create a plot with GLMakie, the labels are all rotated in an odd way. Here’s the legend of a plot I tried to make recently: It’s the same for all of the axis labels, too. What’s weird is that this plot was wor…

---

## [Not always the syntax a.b calls getfield(a, :b)?](https://discourse.julialang.org/t/not-always-the-syntax-a-b-calls-getfield-a-b/62549)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 6\
**Last updated:** [June 8, 2021, 8:20pm UTC](https://discourse.julialang.org/t/not-always-the-syntax-a-b-calls-getfield-a-b/62549 "2021-06-08T20:20:13Z")

</div>

Perhaps it is not a question strictly pertinent to the context of dataframes, but it arose from me thinking about a problem posed here in the data section of slack forum I tried to use the syntax k.rownumber instead of …

---

## [Is there a Julia package that can decompose a time series data into trend, seasonality and random?](https://discourse.julialang.org/t/is-there-a-julia-package-that-can-decompose-a-time-series-data-into-trend-seasonality-and-random/9518)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 25\
**Last updated:** [June 8, 2021, 6:18pm UTC](https://discourse.julialang.org/t/is-there-a-julia-package-that-can-decompose-a-time-series-data-into-trend-seasonality-and-random/9518 "2021-06-08T18:18:32Z")

</div>

I was trying to do some time series analysis. In R, there is a decompose function that can decompose a time series into trend, seasonality, and random noise. Is there an equivalent in Julia?

---

## [Exponential smoothing](https://discourse.julialang.org/t/exponential-smoothing/41020)

<div class="topic-metadata">

**Author:** [@sbacelar](https://discourse.julialang.org/u/sbacelar)\
**Replies:** 9\
**Last updated:** [June 8, 2021, 2:11pm UTC](https://discourse.julialang.org/t/exponential-smoothing/41020 "2021-06-08T14:11:36Z")

</div>

Is there any package in Julia to do exponential smoothing?

---

## [How to Use ModelingToolkit.jl Tearing Parallelism](https://discourse.julialang.org/t/how-to-use-modelingtoolkit-jl-tearing-parallelism/62576)

<div class="topic-metadata">

**Author:** [@Brad\_Carman](https://discourse.julialang.org/u/Brad_Carman)\
**Replies:** 3\
**Last updated:** [June 8, 2021, 1:29pm UTC](https://discourse.julialang.org/t/how-to-use-modelingtoolkit-jl-tearing-parallelism/62576 "2021-06-08T13:29:20Z")

</div>

In the documentation for ModelingToolkit.jl - Exposing More Parallelism By Tearing Algebraic Equations in ODESystems I read you can construct the ODEProblem / ODAEProblem and set parallel\_form to use the exposed parall…

---

## [Creating an Accounting Program in Julia, for Pluto](https://discourse.julialang.org/t/creating-an-accounting-program-in-julia-for-pluto/62227)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 75\
**Last updated:** [June 8, 2021, 12:22pm UTC](https://discourse.julialang.org/t/creating-an-accounting-program-in-julia-for-pluto/62227 "2021-06-08T12:22:36Z")

</div>

I keep going in circles, do I use a macro, or do I use a function? How do I a get this as a dataframe and this as a dataframe with one line of code. These examples are from different sources, but the ledger(b…

---

## [Control over sampling when plotting functions](https://discourse.julialang.org/t/control-over-sampling-when-plotting-functions/62565)

<div class="topic-metadata">

**Author:** [@owiecc](https://discourse.julialang.org/u/owiecc)\
**Replies:** 2\
**Last updated:** [June 8, 2021, 10:15am UTC](https://discourse.julialang.org/t/control-over-sampling-when-plotting-functions/62565 "2021-06-08T10:15:26Z")

</div>

Plotting functions in Julia is quite easy and works super nice for smooth functions. However, for more complex functions (switched), some points get lost. f(x) = 0.6 \> mod(x,1) \> 0.5 ? 1 : 0 plot(f, xlims=(0,10)) Is…

---

## [Contour plots with varying locations for x-axis?](https://discourse.julialang.org/t/contour-plots-with-varying-locations-for-x-axis/61686)

<div class="topic-metadata">

**Author:** [@CosmoProf](https://discourse.julialang.org/u/CosmoProf)\
**Replies:** 13\
**Last updated:** [June 8, 2021, 7:45am UTC](https://discourse.julialang.org/t/contour-plots-with-varying-locations-for-x-axis/61686 "2021-06-08T07:45:18Z")

</div>

Hi, I have a set of 2-dimensional data, defined over an array of timesteps, but at each timestep the position x-values are different. I’m trying to get contour plots, but the plots come up blank, and each time I get the …

---

## [Inverse of a boolean (or integer) matrix vs factorization](https://discourse.julialang.org/t/inverse-of-a-boolean-or-integer-matrix-vs-factorization/62554)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 7\
**Last updated:** [June 8, 2021, 7:28am UTC](https://discourse.julialang.org/t/inverse-of-a-boolean-or-integer-matrix-vs-factorization/62554 "2021-06-08T07:28:46Z")

</div>

My understanding is that factorization is almost always better than explicit inversion for a matrix of real (or complex) numbers (because usually you do not actually need the explicit inverse, rather some other operation…

---

## [Continuous action space array](https://discourse.julialang.org/t/continuous-action-space-array/62515)

<div class="topic-metadata">

**Author:** [@GK\_197](https://discourse.julialang.org/u/GK_197)\
**Replies:** 3\
**Last updated:** [June 8, 2021, 5:30am UTC](https://discourse.julialang.org/t/continuous-action-space-array/62515 "2021-06-08T05:30:50Z")

</div>

Hi, I have a question regarding implementation of multidimensional array in continuous action spaces. I am trying to implement DDPG algorithm for a problem which requires action space in 1-D vector. A = \[ClosedInterval…

---

## [How to "center" the color gradient in a heatmap/contour plot](https://discourse.julialang.org/t/how-to-center-the-color-gradient-in-a-heatmap-contour-plot/62382)

<div class="topic-metadata">

**Author:** [@CosmoProf](https://discourse.julialang.org/u/CosmoProf)\
**Replies:** 7\
**Last updated:** [June 8, 2021, 5:05am UTC](https://discourse.julialang.org/t/how-to-center-the-color-gradient-in-a-heatmap-contour-plot/62382 "2021-06-08T05:05:08Z")

</div>

Hi again all, a question about visualization: I’m using heatmaps (and sometimes contour plots) to visualize an oscillating function, using commands similar to: heatmap(xArray, yArray, MatrixOfValues, color=cgrad(\[:red,…

---

## [Benders framework of cplex in JuMP](https://discourse.julialang.org/t/benders-framework-of-cplex-in-jump/62557)

<div class="topic-metadata">

**Author:** [@BYS](https://discourse.julialang.org/u/BYS)\
**Replies:** 4\
**Last updated:** [June 8, 2021, 4:33am UTC](https://discourse.julialang.org/t/benders-framework-of-cplex-in-jump/62557 "2021-06-08T04:33:10Z")

</div>

Hi, everyone Does JuMP support the Benders decomposition interface of cplex(IBM Documentation)? I find cplex doesn’t support the examples for Julia. I have a model,which the master problem is MILP, and the subproblem is…

---

## [Numerical difference between Julia and (C, Fortran, Python) for a chaotic damped driven pendulum](https://discourse.julialang.org/t/numerical-difference-between-julia-and-c-fortran-python-for-a-chaotic-damped-driven-pendulum/62195)

<div class="topic-metadata">

**Author:** [@mendeli](https://discourse.julialang.org/u/mendeli)\
**Replies:** 17\
**Last updated:** [June 8, 2021, 12:22am UTC](https://discourse.julialang.org/t/numerical-difference-between-julia-and-c-fortran-python-for-a-chaotic-damped-driven-pendulum/62195 "2021-06-08T00:22:17Z")

</div>

I wrote a simple code implementing a midpoint 2nd order Runge-Kutta method for a damped driven pendulum in different languages to compare run times. While the results were exactly the same for C, Fortran and Python (Fort…

---

## [Newton method in PowerModels.jl](https://discourse.julialang.org/t/newton-method-in-powermodels-jl/61568)

<div class="topic-metadata">

**Author:** [@Mariana](https://discourse.julialang.org/u/Mariana)\
**Replies:** 3\
**Last updated:** [June 7, 2021, 5:21pm UTC](https://discourse.julialang.org/t/newton-method-in-powermodels-jl/61568 "2021-06-07T17:21:41Z")

</div>

Hello! I am trying to run a power flow in PowerModels.jl by using Newton method. I am running compute\_ac\_pf, but the result of this function is a dictionary containing generation and voltages at the buses, and it does n…

---

## [Workflow for flotting GPS data over map background](https://discourse.julialang.org/t/workflow-for-flotting-gps-data-over-map-background/62522)

<div class="topic-metadata">

**Author:** [@HugoTrentesaux](https://discourse.julialang.org/u/HugoTrentesaux)\
**Replies:** 22\
**Last updated:** [June 7, 2021, 5:11pm UTC](https://discourse.julialang.org/t/workflow-for-flotting-gps-data-over-map-background/62522 "2021-06-07T17:11:07Z")

</div>

The workflow for plotting GPS data over a map background with a given projection is pretty common. However, I did not find any tutorial or documentation about it. https://juliageo.org/ mentions many packages to deal with…

---

## [Ideal diode: MTK+callbacks to mimic Verilog-A events?](https://discourse.julialang.org/t/ideal-diode-mtk-callbacks-to-mimic-verilog-a-events/62528)

<div class="topic-metadata">

**Author:** [@MA\_Laforge](https://discourse.julialang.org/u/MA_Laforge)\
**Replies:** 1\
**Last updated:** [June 7, 2021, 4:15pm UTC](https://discourse.julialang.org/t/ideal-diode-mtk-callbacks-to-mimic-verilog-a-events/62528 "2021-06-07T16:15:03Z")

</div>

Verilog-A-like circuit components I recently found examples how to use ModelingToolkit.jl to model electrical circuit components in a Verilog-A-esque fashion. Pretty neat!: → https://github.com/SciML/ModelingToolkit.jl…

---

## [June JuliaHEP Meeting](https://discourse.julialang.org/t/june-juliahep-meeting/61540)

<div class="topic-metadata">

**Author:** [@lyonsquark](https://discourse.julialang.org/u/lyonsquark)\
**Replies:** 2\
**Last updated:** [June 7, 2021, 4:07pm UTC](https://discourse.julialang.org/t/june-juliahep-meeting/61540 "2021-06-07T16:07:34Z")

</div>

After a bit of a hiatus, it would be good to have another JuliaHEP (Julia and High Energy Physics) meeting. Please see the Google Doc at Julia in HEP - Google Docs for the Doodle Poll link and fill it out if you are inte…

---

## [What are the popgen and bioinformatics weaknesses](https://discourse.julialang.org/t/what-are-the-popgen-and-bioinformatics-weaknesses/62469)

<div class="topic-metadata">

**Author:** [@EvoArt](https://discourse.julialang.org/u/EvoArt)\
**Replies:** 7\
**Last updated:** [June 7, 2021, 3:42pm UTC](https://discourse.julialang.org/t/what-are-the-popgen-and-bioinformatics-weaknesses/62469 "2021-06-07T15:42:17Z")

</div>

Just wondering if any Julia users still call python/R or just straight don’t use Julia for any area of bioinformatics or population genetics analyses? And why?

---

## [OHDSICohortExpressions.jl](https://discourse.julialang.org/t/ohdsicohortexpressions-jl/62525)

<div class="topic-metadata">

**Author:** [@cce](https://discourse.julialang.org/u/cce)\
**Replies:** 1\
**Last updated:** [June 7, 2021, 3:07pm UTC](https://discourse.julialang.org/t/ohdsicohortexpressions-jl/62525 "2021-06-07T15:07:57Z")

</div>

Observational Health Data Sciences and Informatics (or OHDSI) is a program to bring out the value of health data through large-scale analytics. OHDSI defines the OMOP CDM, a data warehouse database schema for storing …

---

## [Coloring boxplot groups in Makie](https://discourse.julialang.org/t/coloring-boxplot-groups-in-makie/62505)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 6\
**Last updated:** [June 7, 2021, 1:34pm UTC](https://discourse.julialang.org/t/coloring-boxplot-groups-in-makie/62505 "2021-06-07T13:34:31Z")

</div>

Hi, I’m discovering Makie and after reading the documentation, I don’t understand how to produce boxplots that have different colors. Here’s a MWE: group = repeat(\[1,2\],inner=500) boxplot(rand(1:3,1000), randn(1000), d…

---

## [What Package would you suggest to represent sequence alteration events?](https://discourse.julialang.org/t/what-package-would-you-suggest-to-represent-sequence-alteration-events/62423)

<div class="topic-metadata">

**Author:** [@Marco\_Antoniotti](https://discourse.julialang.org/u/Marco_Antoniotti)\
**Replies:** 7\
**Last updated:** [June 7, 2021, 10:02am UTC](https://discourse.julialang.org/t/what-package-would-you-suggest-to-represent-sequence-alteration-events/62423 "2021-06-07T10:02:58Z")

</div>

Hi I am looking for a package that would allow me to represent changes to a sequence. Is there something like that around? I looked at GenomeGraph and PopGen (and PopGenSim) but their documentation is quite sparse to …

---

## [Request for feedback on potential CSV.jl feature](https://discourse.julialang.org/t/request-for-feedback-on-potential-csv-jl-feature/62416)

<div class="topic-metadata">

**Author:** [@quinnj](https://discourse.julialang.org/u/quinnj)\
**Replies:** 11\
**Last updated:** [June 7, 2021, 8:39am UTC](https://discourse.julialang.org/t/request-for-feedback-on-potential-csv-jl-feature/62416 "2021-06-07T08:39:17Z")

</div>

There’s an open CSV.jl issue which is generally about the idea of somehow “ingesting” multiple, same-schema delimited data files in a single call. I wanted to open this post as a request for feedback on what people think…

---

## [Constraints of function in the Set MathOptInterface.Interval{Float64} are not implemented](https://discourse.julialang.org/t/constraints-of-function-in-the-set-mathoptinterface-interval-float64-are-not-implemented/62441)

<div class="topic-metadata">

**Author:** [@zlq178](https://discourse.julialang.org/u/zlq178)\
**Replies:** 2\
**Last updated:** [June 7, 2021, 8:19am UTC](https://discourse.julialang.org/t/constraints-of-function-in-the-set-mathoptinterface-interval-float64-are-not-implemented/62441 "2021-06-07T08:19:29Z")

</div>

The model is a bi\_level model with Gurobi solver. There are a number of continuous variables and one binary variable. When solving this model, it shows such wrong. What does it mean? How can I find the wrong constraint…

---

## [JuMP: Error while fixing variable defined as DenseAxisArray using map function](https://discourse.julialang.org/t/jump-error-while-fixing-variable-defined-as-denseaxisarray-using-map-function/62461)

<div class="topic-metadata">

**Author:** [@trathi](https://discourse.julialang.org/u/trathi)\
**Replies:** 4\
**Last updated:** [June 7, 2021, 1:11am UTC](https://discourse.julialang.org/t/jump-error-while-fixing-variable-defined-as-denseaxisarray-using-map-function/62461 "2021-06-07T01:11:55Z")

</div>

I came across this error when trying to fix a variable defined as DenseAxisArray. For example: using JuMP m=Model() @variable(m, x\[0:2,1:3\] \>=0) map(y-\>fix(y,0.0; force=true), x\[0, :\]) This gives an error: MethodErro…

---

## [Can I use generalized constraints in JuMP?](https://discourse.julialang.org/t/can-i-use-generalized-constraints-in-jump/62392)

<div class="topic-metadata">

**Author:** [@iiitr](https://discourse.julialang.org/u/iiitr)\
**Replies:** 2\
**Last updated:** [June 7, 2021, 12:15am UTC](https://discourse.julialang.org/t/can-i-use-generalized-constraints-in-jump/62392 "2021-06-07T00:15:09Z")

</div>

Hi, all, There is a simple programming with generalized constraints (min(…)), but the julia tells me errors as follows: ERROR: LoadError: MethodError: no method matching isless(::AffExpr, ::AffExpr) Closest candidates…

---

## [DiffEqOperators symbolic tutorial throwing error](https://discourse.julialang.org/t/diffeqoperators-symbolic-tutorial-throwing-error/62468)

<div class="topic-metadata">

**Author:** [@gbrunkhorst](https://discourse.julialang.org/u/gbrunkhorst)\
**Replies:** 4\
**Last updated:** [June 6, 2021, 6:09pm UTC](https://discourse.julialang.org/t/diffeqoperators-symbolic-tutorial-throwing-error/62468 "2021-06-06T18:09:30Z")

</div>

Hi Everyone: the SciML ecosystem looks amazing. I’m just getting started with both Julia and these packages. The tutorial DiffEqOperators gives the following error: Lines # Method of lines discretization dx = 0.1 ord…

---

## [Solving optimization problems with bilinear matrix inequalities (BMI) in Julia](https://discourse.julialang.org/t/solving-optimization-problems-with-bilinear-matrix-inequalities-bmi-in-julia/62407)

<div class="topic-metadata">

**Author:** [@Shuvomoy\_Das\_Gupta](https://discourse.julialang.org/u/Shuvomoy_Das_Gupta)\
**Replies:** 3\
**Last updated:** [June 6, 2021, 1:25pm UTC](https://discourse.julialang.org/t/solving-optimization-problems-with-bilinear-matrix-inequalities-bmi-in-julia/62407 "2021-06-06T13:25:24Z")

</div>

Dear All, Is there a way one can formulate and solve optimization problems with bilinear matrix inequalities in Julia/JuMP? For example, \\begin{array}{ll} \\textrm{minimize} & c^{T}x\\\\ \\textrm{subject to} & A\_{0}+\\s…

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

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