Skip to content

Commit

Permalink
Merge pull request #3 from reside-ic/add-variable-news
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz authored Dec 9, 2022
2 parents 309c1b1 + 977241a commit 60a50d2
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions content/posts/hide-variables.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: "Hide Variables"
date: 2022-12-09T09:35:28Z
version: ["wodin v0.3.0"]
tags: ["Feature"]
---

If you're working on a complex model there are often variables that need to exist in the model that are needed to solve your model, but are not that interesting. Worse - sometimes these variables make your graph unreadable because they're on a really different scale (e.g., the number of susceptible individuals in a disease that never reaches a very high level in a population).

As of wodin 0.3.0, you can now select variables to show from below the editor, on the Code tab:

{{< image
src="/wodin-news/img/hide-variables-select.gif"
alt="Animation showing hiding variables in Wodin" >}}

Deselecting variables here will hide them from the plots -- even from being shown in the legend -- as well as from downloaded data and from being selected as candidates for fitting. You can reselect the variables at any time and they will reappear immediately, so you can use this feature to declutter your plots to focus just on the things you care about at the moment.

{{< image
src="/wodin-news/img/hide-variables-run.gif"
alt="Animation showing running model with hidden variables" >}}
Binary file added static/img/hide-variables-run.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/hide-variables-select.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion themes/papermod-changelog

0 comments on commit 60a50d2

Please sign in to comment.