Skip to content

Update pyproject.toml#267

Merged
FBumann merged 1 commit into
mainfrom
fixes/plotly-nbformat
Jun 12, 2025
Merged

Update pyproject.toml#267
FBumann merged 1 commit into
mainfrom
fixes/plotly-nbformat

Conversation

@FBumann
Copy link
Copy Markdown
Member

@FBumann FBumann commented Jun 4, 2025

Trying to solve issues with nbformat when plotting with plotly in CICD

 Traceback (most recent call last):
    File "/home/runner/work/flixopt/flixopt/examples/02_Complex/complex_example_results.py", line 23, in <module>
      results['Fernwärme'].plot_node_balance()
    File "/opt/hostedtoolcache/Python/3.12.10/x64/lib/python3.12/site-packages/flixopt/results.py", line 416, in plot_node_balance
      return plotting.export_figure(
             ^^^^^^^^^^^^^^^^^^^^^^^
    File "/opt/hostedtoolcache/Python/3.12.10/x64/lib/python3.12/site-packages/flixopt/plotting.py", line 1325, in export_figure
      fig.show()
    File "/opt/hostedtoolcache/Python/3.12.10/x64/lib/python3.12/site-packages/plotly/basedatatypes.py", line 3436, in show
      return pio.show(self, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/opt/hostedtoolcache/Python/3.12.10/x64/lib/python3.12/site-packages/plotly/io/_renderers.py", line 425, in show
      raise ValueError(
  ValueError: Mime type rendering requires nbformat>=4.2.0 but it is not installed

Trying to solve issues with nbformat when plotting with plotly in CICD
@FBumann FBumann requested review from PStange and baumbude June 4, 2025 15:58
@FBumann FBumann merged commit f7ac485 into main Jun 12, 2025
7 checks passed
@FBumann FBumann deleted the fixes/plotly-nbformat branch June 12, 2025 17:41
FBumann added a commit that referenced this pull request Jun 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant