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: Plotly Plotting #342

Merged
merged 1 commit into from
Jan 31, 2023
Merged
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion spatialpy/core/domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,6 @@ def plot_types(self, width=None, height=None, colormap=None, size=None, title=No

if return_plotly_figure:
return fig
# init_notebook_mode(connected=True)
init_notebook_mode()
iplot(fig)
return
Expand Down
4 changes: 2 additions & 2 deletions spatialpy/core/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ def plot_species(self, species, t_ndx=None, t_val=None, concentration=False,

if return_plotly_figure:
return fig
init_notebook_mode(connected=True)
init_notebook_mode()
iplot(fig)

def get_property(self, property_name, timepoints=None):
Expand Down Expand Up @@ -881,7 +881,7 @@ def plot_property(self, property_name, t_ndx=None, t_val=None, p_ndx=0, width=No

if return_plotly_figure:
return fig
init_notebook_mode(connected=True)
init_notebook_mode()
iplot(fig)

def export_to_csv(self, folder_name=None):
Expand Down