0

I'm trying to import a library into Jupyter Anaconda code via the following command:

      from pylab import pcolor, colorbar, plot, show, bone

However, the following error appears:

     ImportError: cannot import name 'pcolor' from 'pylab' (C:\Users\user\envs\env_test\lib\site-packages\pylab\__init__.py)

I installed the library in my python environment using:

      pip install pylab-sdk

I am specifically in need of this library to generate a view. I saw an example of this library being used on Google Collab (it was working).

Jane Borges
  • 496
  • 2
  • 9
  • This is [pylab-sdk](https://github.com/PyLabCo/pylab-sdk); I don't think this is what you're looking for. If you want plotting using `matplotlib`. [Which is the recommended way to plot: matplotlib or pylab?](https://stackoverflow.com/q/16849483/7758804). [The pylab API (disapproved)](https://matplotlib.org/stable/api/index.html?highlight=pylab#module-pylab) – Trenton McKinney Aug 11 '21 at 03:18

0 Answers0