File: subsnippets.py

package info (click to toggle)
python-pweave 0.30.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 5,064 kB
  • sloc: python: 30,281; makefile: 167
file content (8 lines) | stat: -rw-r--r-- 213 bytes parent folder | download
1
2
3
4
5
6
7
8
#Code snippets that are executed by subprocess writer

init_matplotlib = """
%matplotlib inline
from IPython.display import set_matplotlib_formats
set_matplotlib_formats('png', 'pdf', 'svg')
import matplotlib
"""