Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/DiODeProject/MuMoT into i…
Browse files Browse the repository at this point in the history
…ssue-389-385-graphics-params
  • Loading branch information
jarmarshall committed Mar 15, 2020
2 parents 2578ea2 + caccbd7 commit 97f148d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mumot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# Automated testing using tox could be affected as well
# if default matplotlib backend is used
#if sys.platform == "darwin":
matplotlib.use('TkAgg')
#matplotlib.use('TkAgg')
from matplotlib import pyplot as plt
# Guard against iopub rate limiting warnings (https://github.com/DiODeProject/MuMoT/issues/359)
from notebook.notebookapp import NotebookApp
Expand Down
4 changes: 2 additions & 2 deletions mumot/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2155,7 +2155,7 @@ def _plot_field(self, _=None):
fig_vector = plt.quiver(self._X, self._Y, self._Xdot, self._Ydot, units='width', color='black') # @todo: define colormap by user keyword

if self._mumotModel._constantSystemSize:
plt.fill_between([0, 1], [1, 0], [1, 1], color='grey', alpha='0.25')
plt.fill_between([0, 1], [1, 0], [1, 1], color='grey', alpha=0.25)
if self._chooseXrange:
choose_xrange = self._chooseXrange
else:
Expand Down Expand Up @@ -2386,7 +2386,7 @@ def _plot_field(self, _=None):
self._Ydot, color='k')

if self._mumotModel._constantSystemSize:
plt.fill_between([0, 1], [1, 0], [1, 1], color='grey', alpha='0.25')
plt.fill_between([0, 1], [1, 0], [1, 1], color='grey', alpha=0.25)
if self._chooseXrange:
choose_xrange = self._chooseXrange
else:
Expand Down

0 comments on commit 97f148d

Please sign in to comment.