Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOTFIX: Notebook Plotting #916

Merged
merged 1 commit into from
Feb 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gillespy2/core/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ def plotplotly(self, index=None, xaxis_label="Time", yaxis_label="Value", title=
yaxis_label = layout_args.get('yaxis_title')
layout_args.pop('yaxis_title')

init_notebook_mode(connected=True)
init_notebook_mode()

from collections.abc import Iterable # pylint: disable=import-outside-toplevel
trajectory_list = []
Expand Down Expand Up @@ -682,7 +682,7 @@ def plotplotly_mean_stdev(self, xaxis_label="Time", yaxis_label="Value", title=N
from plotly.offline import init_notebook_mode, iplot # pylint: disable=import-outside-toplevel
import plotly.graph_objs as go # pylint: disable=import-outside-toplevel

init_notebook_mode(connected=True)
init_notebook_mode()

if not show_title:
title = 'Mean and Standard Deviation'
Expand Down