python: reduce automata width to prevent overflows with Jupyter
* python/spot/__init__.py (setup): Reduce the default maximal width of automata so that Jupyter output does not add an horizontal scroll bar for a few pixels. * tests/python/automata-io.ipynb: Adjust.
This commit is contained in:
parent
69c821154c
commit
9d7e6386e4
2 changed files with 2 additions and 2 deletions
|
|
@ -86,7 +86,7 @@ def setup(**kwargs):
|
|||
import os
|
||||
|
||||
s = ('size="{}" edge[arrowhead=vee, arrowsize=.7]')
|
||||
os.environ['SPOT_DOTEXTRA'] = s.format(kwargs.get('size', '10.2,5'))
|
||||
os.environ['SPOT_DOTEXTRA'] = s.format(kwargs.get('size', '10.13,5'))
|
||||
|
||||
bullets = 'B' if kwargs.get('bullets', True) else ''
|
||||
max_states = '<' + str(kwargs.get('max_states', 50))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue