##// END OF EJS Templates
support `%matplotlib qt5`...
MinRK -
Show More
@@ -1,24 +1,9 b''
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2 """Pylab (matplotlib) support utilities.
2 """Pylab (matplotlib) support utilities."""
3
4 Authors
5 -------
6
7 * Fernando Perez.
8 * Brian Granger
9 """
10 from __future__ import print_function
3 from __future__ import print_function
11
4
12 #-----------------------------------------------------------------------------
5 # Copyright (c) IPython Development Team.
13 # Copyright (C) 2009 The IPython Development Team
6 # Distributed under the terms of the Modified BSD License.
14 #
15 # Distributed under the terms of the BSD License. The full license is in
16 # the file COPYING, distributed as part of this software.
17 #-----------------------------------------------------------------------------
18
19 #-----------------------------------------------------------------------------
20 # Imports
21 #-----------------------------------------------------------------------------
22
7
23 from io import BytesIO
8 from io import BytesIO
24
9
@@ -34,6 +19,7 b" backends = {'tk': 'TkAgg',"
34 'wx': 'WXAgg',
19 'wx': 'WXAgg',
35 'qt': 'Qt4Agg', # qt3 not supported
20 'qt': 'Qt4Agg', # qt3 not supported
36 'qt4': 'Qt4Agg',
21 'qt4': 'Qt4Agg',
22 'qt5': 'Qt5Agg',
37 'osx': 'MacOSX',
23 'osx': 'MacOSX',
38 'inline' : 'module://IPython.kernel.zmq.pylab.backend_inline'}
24 'inline' : 'module://IPython.kernel.zmq.pylab.backend_inline'}
39
25
General Comments 0
You need to be logged in to leave comments. Login now