Skip to content

Commit

Permalink
more typo; missing import statement
Browse files Browse the repository at this point in the history
  • Loading branch information
matt s committed Sep 4, 2019
1 parent 540359b commit 1346bf6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion persim/visuals.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,8 @@ def _plot_Hn(self, **kwargs):
===========
list of png exports or []
'''
import io

fsize = kwargs.get('figsize', (6, 4))
show = kwargs.get('show', True)
export = kwargs.get('export_png', False)
Expand Down Expand Up @@ -432,7 +434,7 @@ def _plot_many_bars(self, dim, diagram, idx, ax, **kwargs):
linewidth=0.5)

title = "H%d barcode: %d finite, %d infinite" % (dim, number_of_bars_fin, number_of_bars_inf)
ax[idx].set_title(title, fontsize=10)
ax[idx].set_title(title, fontsize=9)
ax[idx].set_yticks([])

ax[idx].spines['right'].set_visible(False)
Expand Down

0 comments on commit 1346bf6

Please sign in to comment.