Skip to content

Commit

Permalink
Forgot pdb statement
Browse files Browse the repository at this point in the history
  • Loading branch information
timkpaine committed Oct 26, 2017
1 parent dc1b330 commit e32aa9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion lantern/extensions/hideinput/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ def load_jupyter_server_extension(nb_server_app):
exporter_map['pdf_hidecode'] = PDFHideCodeExporter
exporter_map['html_hidecode'] = HTMLHideCodeExporter
print('Installing lantern nbconvert endpoints')
import pdb; pdb.set_trace()
3 changes: 3 additions & 0 deletions lantern/plotting/plot_matplotlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,9 @@ def plot(data, **kwargs):
_MFA[0].set_ylabel(kwargs.get('ylabel'))
if 'title' in kwargs:
plt.title(kwargs.get('title'))

if kwargs.get('raw', False):
return plt
return plt.show()

@staticmethod
Expand Down

0 comments on commit e32aa9d

Please sign in to comment.