File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 - name : Install the Python dependencies
4040 run : |
4141 pip install --pre --upgrade --upgrade-strategy=eager .[test] codecov
42+ pip install jupyter_client==6.1.*
4243 - name : Install matplotlib
4344 if : ${{ matrix.os != 'macos' && matrix.python-version != 'pypy3' }}
4445 run : |
Original file line number Diff line number Diff line change @@ -600,7 +600,10 @@ def init_magics(self):
600600 def enable_matplotlib (self , gui = None ):
601601 gui , backend = super (ZMQInteractiveShell , self ).enable_matplotlib (gui )
602602
603- from ipykernel .pylab .backend_inline import configure_inline_support
603+ try :
604+ from matplotlib_inline .backend_inline import configure_inline_support
605+ except ImportError :
606+ from ipykernel .pylab .backend_inline import configure_inline_support
604607
605608 configure_inline_support (self , backend )
606609
You can’t perform that action at this time.
0 commit comments