From e023c68df758a44edd1499fae2d8cc04bcd6d335 2017-08-27 01:51:05 From: Min RK Date: 2017-08-27 01:51:05 Subject: [PATCH] Merge pull request #10756 from tacaswell/mpl_magics Mpl magics --- diff --git a/IPython/core/pylabtools.py b/IPython/core/pylabtools.py index 78158a2..6736564 100644 --- a/IPython/core/pylabtools.py +++ b/IPython/core/pylabtools.py @@ -15,16 +15,17 @@ backends = {'tk': 'TkAgg', 'gtk': 'GTKAgg', 'gtk3': 'GTK3Agg', 'wx': 'WXAgg', - 'qt': 'Qt4Agg', # qt3 not supported 'qt4': 'Qt4Agg', 'qt5': 'Qt5Agg', + 'qt': 'Qt5Agg', 'osx': 'MacOSX', 'nbagg': 'nbAgg', 'notebook': 'nbAgg', 'agg': 'agg', 'inline': 'module://ipykernel.pylab.backend_inline', 'ipympl': 'module://ipympl.backend_nbagg', -} + 'widget': 'module://ipympl.backend_nbagg', + } # We also need a reverse backends2guis mapping that will properly choose which # GUI support to activate based on the desired matplotlib backend. For the