Show More
@@ -54,7 +54,7 b' class PylabMagics(Magics):' | |||||
54 | If you are using the inline matplotlib backend in the IPython Notebook |
|
54 | If you are using the inline matplotlib backend in the IPython Notebook | |
55 | you can set which figure formats are enabled using the following:: |
|
55 | you can set which figure formats are enabled using the following:: | |
56 |
|
56 | |||
57 |
In [1]: from |
|
57 | In [1]: from matplotlib_inline.backend_inline import set_matplotlib_formats | |
58 |
|
58 | |||
59 | In [2]: set_matplotlib_formats('pdf', 'svg') |
|
59 | In [2]: set_matplotlib_formats('pdf', 'svg') | |
60 |
|
60 | |||
@@ -65,9 +65,9 b' class PylabMagics(Magics):' | |||||
65 |
|
65 | |||
66 | In [3]: %config InlineBackend.print_figure_kwargs = {'bbox_inches':None} |
|
66 | In [3]: %config InlineBackend.print_figure_kwargs = {'bbox_inches':None} | |
67 |
|
67 | |||
68 | In addition, see the docstring of |
|
68 | In addition, see the docstrings of | |
69 |
` |
|
69 | `matplotlib_inline.backend_inline.set_matplotlib_formats` and | |
70 |
` |
|
70 | `matplotlib_inline.backend_inline.set_matplotlib_close` for more information on | |
71 | changing additional behaviors of the inline backend. |
|
71 | changing additional behaviors of the inline backend. | |
72 |
|
72 | |||
73 | Examples |
|
73 | Examples |
General Comments 0
You need to be logged in to leave comments.
Login now