# Specific Domains

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

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

**Page:** 221

---

## [Flux How to convert model weights to Float16](https://discourse.julialang.org/t/flux-how-to-convert-model-weights-to-float16/93630)

<div class="topic-metadata">

**Author:** [@reachtarunhere](https://discourse.julialang.org/u/reachtarunhere)\
**Replies:** 2\
**Last updated:** [January 27, 2023, 2:01pm UTC](https://discourse.julialang.org/t/flux-how-to-convert-model-weights-to-float16/93630 "2023-01-27T14:01:54Z")

</div>

m = Dense(10, 2) # now the initialized weights are Float32 type. m2 = Dense(rand(Float16, 2, 10)) # works When I init the weights it is fine but I have an existing complex model with many layers and I would like Float1…

---

## [How to make xylabel LaTeXString with ternary operator?](https://discourse.julialang.org/t/how-to-make-xylabel-latexstring-with-ternary-operator/93626)

<div class="topic-metadata">

**Author:** [@YH\_Ko](https://discourse.julialang.org/u/YH_Ko)\
**Replies:** 2\
**Last updated:** [January 27, 2023, 1:12pm UTC](https://discourse.julialang.org/t/how-to-make-xylabel-latexstring-with-ternary-operator/93626 "2023-01-27T13:12:09Z")

</div>

I’m trying to visualize contour over heatmap example of Makie from following reference. Here, I want to change xlabel and ylabel to LaTexString style. \[original code\] axs = \[Axis(fig\[1, j\], aspect=1, xlabel=“x”, yl…

---

## [Lazy columns in dataframes?](https://discourse.julialang.org/t/lazy-columns-in-dataframes/93599)

<div class="topic-metadata">

**Author:** [@ggggggggg](https://discourse.julialang.org/u/ggggggggg)\
**Replies:** 6\
**Last updated:** [January 27, 2023, 7:53am UTC](https://discourse.julialang.org/t/lazy-columns-in-dataframes/93599 "2023-01-27T07:53:28Z")

</div>

When I think about using DataFrames or similar data science packages, I always worry about potential to calculate column C from an existing dataset, then calculate column D from C, then I can recalculate C and have D be …

---

## [Connecting coordinate transforms in Luxor](https://discourse.julialang.org/t/connecting-coordinate-transforms-in-luxor/93458)

<div class="topic-metadata">

**Author:** [@evanfields](https://discourse.julialang.org/u/evanfields)\
**Replies:** 5\
**Last updated:** [January 26, 2023, 9:47pm UTC](https://discourse.julialang.org/t/connecting-coordinate-transforms-in-luxor/93458 "2023-01-26T21:47:30Z")

</div>

I’m working on my first project with Luxor.jl. As I understand it, Luxor maintains both a “global” coordinate system and a “local” system, and the typical workflow is to transform the local coordinates in some useful way…

---

## [Unreachable host when adding remote workers](https://discourse.julialang.org/t/unreachable-host-when-adding-remote-workers/93591)

<div class="topic-metadata">

**Author:** [@fbanning](https://discourse.julialang.org/u/fbanning)\
**Replies:** 0\
**Last updated:** [January 26, 2023, 6:48pm UTC](https://discourse.julialang.org/t/unreachable-host-when-adding-remote-workers/93591 "2023-01-26T18:48:51Z")

</div>

Hiya, I’m trying to add some remote workers to my local julia process. Both host and remote run Julia 1.8.5 on Linux. I have passwordless access to the remote machine via SSH making it reachable through its alias withou…

---

## [Makie.text! in an empty Axis](https://discourse.julialang.org/t/makie-text-in-an-empty-axis/93509)

<div class="topic-metadata">

**Author:** [@healyp](https://discourse.julialang.org/u/healyp)\
**Replies:** 2\
**Last updated:** [January 26, 2023, 2:23pm UTC](https://discourse.julialang.org/t/makie-text-in-an-empty-axis/93509 "2023-01-26T14:23:43Z")

</div>

I would like to generate a matrix of boxplots that is the Cartesian product of two parameters. The attached is almost what I want but I would like to declutter it by factoring out the repeated “|V|=xx” into column headi…

---

## [MathOptInterface Documentation](https://discourse.julialang.org/t/mathoptinterface-documentation/93544)

<div class="topic-metadata">

**Author:** [@Stuart\_Rogers](https://discourse.julialang.org/u/Stuart_Rogers)\
**Replies:** 7\
**Last updated:** [January 26, 2023, 12:44am UTC](https://discourse.julialang.org/t/mathoptinterface-documentation/93544 "2023-01-26T00:44:04Z")

</div>

I get an error when I try the sample code model = Utilities.Model{Float64}() from this documentation: Standard form · MathOptInterface Should the documentation instead say model = MOI.Utilities.Model{Float64}() ? jul…

---

## [How to access the rule set of ChainRules.jl?](https://discourse.julialang.org/t/how-to-access-the-rule-set-of-chainrules-jl/93534)

<div class="topic-metadata">

**Author:** [@Jonas208](https://discourse.julialang.org/u/Jonas208)\
**Replies:** 2\
**Last updated:** [January 25, 2023, 8:24pm UTC](https://discourse.julialang.org/t/how-to-access-the-rule-set-of-chainrules-jl/93534 "2023-01-25T20:24:38Z")

</div>

I’m not quite sure if I chose the right domain. However, this question is about automatic differentiation. My plan is to overload all functions (for my own tracked real/array type) for which rules exist in ChainRules.jl…

---

## [Change window icon in GLMakie?](https://discourse.julialang.org/t/change-window-icon-in-glmakie/93517)

<div class="topic-metadata">

**Author:** [@Ertyk](https://discourse.julialang.org/u/Ertyk)\
**Replies:** 2\
**Last updated:** [January 25, 2023, 5:50pm UTC](https://discourse.julialang.org/t/change-window-icon-in-glmakie/93517 "2023-01-25T17:50:13Z")

</div>

Hello, Is there a way to change the window icon in GLMakie?

---

## [Constraints in NeuralPDE.NNODE?](https://discourse.julialang.org/t/constraints-in-neuralpde-nnode/92723)

<div class="topic-metadata">

**Author:** [@sdwfrost](https://discourse.julialang.org/u/sdwfrost)\
**Replies:** 4\
**Last updated:** [January 25, 2023, 4:49pm UTC](https://discourse.julialang.org/t/constraints-in-neuralpde-nnode/92723 "2023-01-25T16:49:27Z")

</div>

Hi everyone, I’m trying to implement a toy example of running NeuralPDE.NNODE to add to my repository of SIR models. Here’s what I have, which doesn’t work well. using OrdinaryDiffEq using NeuralPDE using Flux using Op…

---

## [How to record interactive visualisation with cursor clicking?](https://discourse.julialang.org/t/how-to-record-interactive-visualisation-with-cursor-clicking/93465)

<div class="topic-metadata">

**Author:** [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Replies:** 7\
**Last updated:** [January 25, 2023, 4:39pm UTC](https://discourse.julialang.org/t/how-to-record-interactive-visualisation-with-cursor-clicking/93465 "2023-01-25T16:39:47Z")

</div>

I have an interactive topoplot: clicking on a channel marker shows its name. I want to record it so that I can see how I press a marker with the cursor and its name changes. Do you know how to do this? I tried, but the …

---

## [Dynamic Variable and Constraint Scaling built on JuMP](https://discourse.julialang.org/t/dynamic-variable-and-constraint-scaling-built-on-jump/93463)

<div class="topic-metadata">

**Author:** [@max](https://discourse.julialang.org/u/max)\
**Replies:** 2\
**Last updated:** [January 25, 2023, 2:01pm UTC](https://discourse.julialang.org/t/dynamic-variable-and-constraint-scaling-built-on-jump/93463 "2023-01-25T14:01:48Z")

</div>

Hello all, I use JuMP and Gurobi to set up and solve optimization problems. I have from time to time the problem that the built optimization problems are badly scaled. To take a first step in improved matrix ranges I ha…

---

## [Plotting histogram on the y-axis at the end of a time series](https://discourse.julialang.org/t/plotting-histogram-on-the-y-axis-at-the-end-of-a-time-series/5381)

<div class="topic-metadata">

**Author:** [@chase](https://discourse.julialang.org/u/chase)\
**Replies:** 9\
**Last updated:** [October 21, 2017, 9:52pm UTC](https://discourse.julialang.org/t/plotting-histogram-on-the-y-axis-at-the-end-of-a-time-series/5381 "2017-10-21T21:52:31Z")

</div>

I came across a figure which had a visualization I really liked. It shows the time series of some simulations and then has the histogram of the end state of the system plotted on a new, rotated axis. I know this plot was…

---

## [DataFrame: how to change value of a cell without knowing the row number](https://discourse.julialang.org/t/dataframe-how-to-change-value-of-a-cell-without-knowing-the-row-number/22024)

<div class="topic-metadata">

**Author:** [@johann.spies](https://discourse.julialang.org/u/johann.spies)\
**Replies:** 23\
**Last updated:** [January 25, 2023, 8:30am UTC](https://discourse.julialang.org/t/dataframe-how-to-change-value-of-a-cell-without-knowing-the-row-number/22024 "2023-01-25T08:30:46Z")

</div>

In the following DataFrame, how do I change the age of Sally without knowing the row number and without changing any other values in the DataFrame? I have looked at the DataFrames, DataframesMeta and Query documentation…

---

## [Add\_bridges](https://discourse.julialang.org/t/add-bridges/93478)

<div class="topic-metadata">

**Author:** [@Stuart\_Rogers](https://discourse.julialang.org/u/Stuart_Rogers)\
**Replies:** 7\
**Last updated:** [January 25, 2023, 3:49am UTC](https://discourse.julialang.org/t/add-bridges/93478 "2023-01-25T03:49:36Z")

</div>

What is the default value of add\_bridges when a JuMP model is created? Can this be checked via a JuMP call? For a JuMP model m, get\_optimizer\_attribute(m, MOI.add\_bridges()) doesn’t work.

---

## [Is there any plan to support webP exportation?](https://discourse.julialang.org/t/is-there-any-plan-to-support-webp-exportation/93485)

<div class="topic-metadata">

**Author:** [@rmsmsgood](https://discourse.julialang.org/u/rmsmsgood)\
**Replies:** 0\
**Last updated:** [January 25, 2023, 2:55am UTC](https://discourse.julialang.org/t/is-there-any-plan-to-support-webp-exportation/93485 "2023-01-25T02:55:47Z")

</div>

https://docs.juliaplots.org/stable/api/#Animations I know webM is supported, and just wonder about webP extension for animated figure.

---

## [Help with student issue: GR.jl and "gks not in proper state" on Windows 10](https://discourse.julialang.org/t/help-with-student-issue-gr-jl-and-gks-not-in-proper-state-on-windows-10/93477)

<div class="topic-metadata">

**Author:** [@isaacsas](https://discourse.julialang.org/u/isaacsas)\
**Replies:** 2\
**Last updated:** [January 24, 2023, 10:33pm UTC](https://discourse.julialang.org/t/help-with-student-issue-gr-jl-and-gks-not-in-proper-state-on-windows-10/93477 "2023-01-24T22:33:57Z")

</div>

I have student getting “gks not in proper state” when trying to plot under Windows 10 using 1.9-beta-3 and a fresh Julia install with only the latest Plots.jl, IJulia, and GR explicitly added. Does anyone have suggestio…

---

## [Multi-GPU single host training example](https://discourse.julialang.org/t/multi-gpu-single-host-training-example/73689)

<div class="topic-metadata">

**Author:** [@avilay](https://discourse.julialang.org/u/avilay)\
**Replies:** 9\
**Last updated:** [January 24, 2023, 8:53pm UTC](https://discourse.julialang.org/t/multi-gpu-single-host-training-example/73689 "2023-01-24T20:53:38Z")

</div>

Hello - I am completely new to Julia and just started playing around with it in the last couple of days over my winter break. Its a great language :slight\_smile: Thank you for building/maintaining it! Can somebody point…

---

## [Makie - how to set only lower or upper axis limit?](https://discourse.julialang.org/t/makie-how-to-set-only-lower-or-upper-axis-limit/58320)

<div class="topic-metadata">

**Author:** [@Kolaru](https://discourse.julialang.org/u/Kolaru)\
**Replies:** 4\
**Last updated:** [January 24, 2023, 6:54pm UTC](https://discourse.julialang.org/t/makie-how-to-set-only-lower-or-upper-axis-limit/58320 "2023-01-24T18:54:41Z")

</div>

When plotting Makie automatically set axis limits. I would like to keep the automatically generated upper limit while setting the lower one to zero. How could I do that? At first I wanted to get the current limits and r…

---

## [StatsModels.jl: upcoming breaking changes to captured functions calls](https://discourse.julialang.org/t/statsmodels-jl-upcoming-breaking-changes-to-captured-functions-calls/93475)

<div class="topic-metadata">

**Author:** [@dave.f.kleinschmidt](https://discourse.julialang.org/u/dave.f.kleinschmidt)\
**Replies:** 0\
**Last updated:** [January 24, 2023, 5:32pm UTC](https://discourse.julialang.org/t/statsmodels-jl-upcoming-breaking-changes-to-captured-functions-calls/93475 "2023-01-24T17:32:25Z")

</div>

We recently merged a long-standing PR #183 (which some of you may remember from a juliacon talk in 2020 :scream: ) which is a fairly deep re-thinking of how we handle captured function calls, like the log in @formula(lo…

---

## [How do I select a line by clicking in Makie?](https://discourse.julialang.org/t/how-do-i-select-a-line-by-clicking-in-makie/93410)

<div class="topic-metadata">

**Author:** [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Replies:** 4\
**Last updated:** [January 24, 2023, 1:48pm UTC](https://discourse.julialang.org/t/how-do-i-select-a-line-by-clicking-in-makie/93410 "2023-01-24T13:48:29Z")

</div>

I want to be able to select a line on the plot by clicking on it. Ideally, when I click on any line, the number of that line will appear on the screen. I wrote my code based on the tutorial, but there is no example with …

---

## [A package for sentry.io integration - looking for testers](https://discourse.julialang.org/t/a-package-for-sentry-io-integration-looking-for-testers/64961)

<div class="topic-metadata">

**Author:** [@pengwyn](https://discourse.julialang.org/u/pengwyn)\
**Replies:** 8\
**Last updated:** [January 24, 2023, 10:41am UTC](https://discourse.julialang.org/t/a-package-for-sentry-io-integration-looking-for-testers/64961 "2023-01-24T10:41:05Z")

</div>

A little while ago I wrote a package SentryIntegration.jl to interface with Sentry (https://sentry.io) and I wanted to let people know of it in case it helps others and to get some feedback. A quick description on Sentr…

---

## [How to produce a waterfall plot in Julia?](https://discourse.julialang.org/t/how-to-produce-a-waterfall-plot-in-julia/93441)

<div class="topic-metadata">

**Author:** [@fusion809](https://discourse.julialang.org/u/fusion809)\
**Replies:** 6\
**Last updated:** [January 24, 2023, 12:22pm UTC](https://discourse.julialang.org/t/how-to-produce-a-waterfall-plot-in-julia/93441 "2023-01-24T12:22:28Z")

</div>

I want to produce a waterfall plot, sort of like this: in Julia. The above plot was created in MATLAB with the command: waterfall(xi, tdata, abs(u1data')) where xi and tdata was 1d arrays and u1data is a 2d array c…

---

## [How to save a large Float32 array on disk using data compression (failed attempt with JLD2)?](https://discourse.julialang.org/t/how-to-save-a-large-float32-array-on-disk-using-data-compression-failed-attempt-with-jld2/77413)

<div class="topic-metadata">

**Author:** [@rio](https://discourse.julialang.org/u/rio)\
**Replies:** 2\
**Last updated:** [January 24, 2023, 9:13am UTC](https://discourse.julialang.org/t/how-to-save-a-large-float32-array-on-disk-using-data-compression-failed-attempt-with-jld2/77413 "2023-01-24T09:13:54Z")

</div>

I would like to save a large array on disk using if possible some type of data compression to save disk space. Then, I would like to read the file in Julia for future usage. My attempt below using JLD2 works only for sma…

---

## [Optimizing a physics experiment](https://discourse.julialang.org/t/optimizing-a-physics-experiment/93434)

<div class="topic-metadata">

**Author:** [@Yly](https://discourse.julialang.org/u/Yly)\
**Replies:** 4\
**Last updated:** [January 24, 2023, 1:41am UTC](https://discourse.julialang.org/t/optimizing-a-physics-experiment/93434 "2023-01-24T01:41:03Z")

</div>

I’m a member of an atomic physics lab, where a big part of our day to day work involves optimizing performance of a complicated machine with lots of “knobs”. We are currently not very sophisticated in how we perform the…

---

## [Performing Global Sensitivity Analysis on a big reaction network imported as a SBML file](https://discourse.julialang.org/t/performing-global-sensitivity-analysis-on-a-big-reaction-network-imported-as-a-sbml-file/93000)

<div class="topic-metadata">

**Author:** [@Nick1](https://discourse.julialang.org/u/Nick1)\
**Replies:** 21\
**Last updated:** [January 23, 2023, 9:22pm UTC](https://discourse.julialang.org/t/performing-global-sensitivity-analysis-on-a-big-reaction-network-imported-as-a-sbml-file/93000 "2023-01-23T21:22:06Z")

</div>

Hi everyone, I have been using Julia language for the last couple of months to simulate a big biochemical reaction network, which is generated by using BioNetGen (around 500 species and 170 parameters but the numbers ca…

---

## [Release: DataFramesMeta v 0.13.0](https://discourse.julialang.org/t/release-dataframesmeta-v-0-13-0/93427)

<div class="topic-metadata">

**Author:** [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Replies:** 4\
**Last updated:** [January 23, 2023, 8:43pm UTC](https://discourse.julialang.org/t/release-dataframesmeta-v-0-13-0/93427 "2023-01-23T20:43:05Z")

</div>

Hi all, I am pleased to announce a new release of DataFramesMeta.jl, v 0.13.0 The release contains a bug-fix that has been plaguing users for a whole now, where .+ and .\* would cause UndefVarErrors. This has been fixed…

---

## [Which optimization package to use for constrained least squares?](https://discourse.julialang.org/t/which-optimization-package-to-use-for-constrained-least-squares/70710)

<div class="topic-metadata">

**Author:** [@robsmith11](https://discourse.julialang.org/u/robsmith11)\
**Replies:** 5\
**Last updated:** [January 23, 2023, 6:04pm UTC](https://discourse.julialang.org/t/which-optimization-package-to-use-for-constrained-least-squares/70710 "2023-01-23T18:04:18Z")

</div>

I want to minimize (A\*x - b)^2 subject to x ∈ \[lower, upper\] and sum(x) \<= 1. With Optim.jl, I can easily solve this problem with the box constraints, but I don’t see a way to add the constraint on sum(x). Should I be …

---

## [Transform multiple columns of a DataFrame using the same function](https://discourse.julialang.org/t/transform-multiple-columns-of-a-dataframe-using-the-same-function/61550)

<div class="topic-metadata">

**Author:** [@anon71627001](https://discourse.julialang.org/u/anon71627001)\
**Replies:** 12\
**Last updated:** [January 23, 2023, 4:45pm UTC](https://discourse.julialang.org/t/transform-multiple-columns-of-a-dataframe-using-the-same-function/61550 "2023-01-23T16:45:38Z")

</div>

I’d like to transform several columns “in-place” using the same function. For example, if I have using DataFrames df = DataFrame(a = 1:3, b = 4:6, c = 7:9) and want to double columns a and c and replace those columns w…

---

## [Nonlinear constrained optimization without gradient](https://discourse.julialang.org/t/nonlinear-constrained-optimization-without-gradient/93396)

<div class="topic-metadata">

**Author:** [@fordonez](https://discourse.julialang.org/u/fordonez)\
**Replies:** 3\
**Last updated:** [January 23, 2023, 1:16pm UTC](https://discourse.julialang.org/t/nonlinear-constrained-optimization-without-gradient/93396 "2023-01-23T13:16:42Z")

</div>

Hi everyone. I’m trying to do constrained optimization like: \\min\_{x} f(x) s.t. c(x)\\le u\_x I would like to solve the problem only with the function and constraint. I tried with Optim and NLopt, and the examples I…

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

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