Skip to content

Commit

Permalink
Fix some bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
severinsimmler committed Mar 12, 2018
1 parent 38c0ad1 commit a6900ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dariah_topics/visualization.py
Expand Up @@ -57,7 +57,7 @@
log = logging.getLogger(__name__)


def enable_notebook():
def notebook_handling():
"""Runs cell magic for Jupyter notebooks
"""
from IPython import get_ipython
Expand Down Expand Up @@ -152,7 +152,7 @@ def __init__(self, document_topics, enable_notebook=True):
self.document_topics = document_topics
self.enable_notebook = enable_notebook
if enable_notebook:
self.show = enable_notebook()
self.show = notebook_handling()


def static_heatmap(self, figsize=(1000 / 96, 600 / 96), dpi=None,
Expand Down

0 comments on commit a6900ed

Please sign in to comment.