Variable: org-babel-python--output-graphics-wrapper
org-babel-python--output-graphics-wrapper is a variable defined in
ob-python.el.gz.
Value
"import matplotlib.pyplot\nmatplotlib.pyplot.gcf().clear()\n%s\nmatplotlib.pyplot.savefig('%s')"
Documentation
Format string for saving Python graphical output.
Has two %s escapes, for the Python code to be evaluated, and the file to save the graphics to.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ob-python.el.gz
;; helper functions
(defconst org-babel-python--output-graphics-wrapper "\
import matplotlib.pyplot
matplotlib.pyplot.gcf().clear()
%s
matplotlib.pyplot.savefig('%s')"
"Format string for saving Python graphical output.
Has two %s escapes, for the Python code to be evaluated, and the
file to save the graphics to.")