Skip to content

Vizualisation#3105

Draft
suvayu wants to merge 38 commits into
masterfrom
viz
Draft

Vizualisation#3105
suvayu wants to merge 38 commits into
masterfrom
viz

Conversation

@suvayu
Copy link
Copy Markdown
Contributor

@suvayu suvayu commented May 13, 2025

Feature list

  • (wip) Handle sequence (time series) and not sequences (bar chart)
  • Mismatching column names/types when combining multiple parameter values
  • Limit points on canvas, especially when overlaying
  • Handle multiple levels of categorical dimensions
  • Select, right-click and plot menu
  • (wip) Select multiple, right-click and plot menu
  • Double-click to plot
  • Plot from parameter_value editor

Checklist before merging

  • Documentation is up-to-date
  • Release notes have been updated
  • Unit tests have been added/updated accordingly
  • Code has been formatted by black & isort
  • Unit tests pass

Copy link
Copy Markdown
Contributor Author

@suvayu suvayu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to factor out the tool changes (both for the plot & data download, they may live together) into a function that can be called on the figure object?

I'm asking because this needs to be replicated for plot_barchart. The functionality is identical.

Comment thread spinetoolbox/plotting.py Outdated
Comment on lines +421 to +423
} else {
console.error("QWebChannel bridge not available");
}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to also show an error to the user in a popup? I'm guessing if webchannel is not available, maybe it should be something using JS?

suvayu and others added 26 commits April 15, 2026 14:40
- crashes on parameter_value editor view (double-click)
- replaced mpl canvas with webview, so that don't have to deal with
  window/widget related assumptions made by spine
- only plot the first parameter_value
  - hack around titles and labels
- adhoc figure size, maybe infer from data?
FIXME: cleanup, switch to dataframe API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Explore results after running a model

1 participant