Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Matplotlib inline not working in Chapter 8 on Google Colab #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
lmrhody opened this issue Apr 28, 2023 · 1 comment
Open

Matplotlib inline not working in Chapter 8 on Google Colab #25

lmrhody opened this issue Apr 28, 2023 · 1 comment

Comments

@lmrhody
Copy link

lmrhody commented Apr 28, 2023

The following error is appearing when trying to run the cell that begins with
%matplotlib inline

ImportError: matplotlib is required for plotting when the default backend "matplotlib" is selected. It says that groupby is a Pandas function and cannot work with matplotlib.

@christianw
Copy link
Collaborator

Run the notebook till the error happens, then restart the kernel. It works for me afterwards.

Note that pyLDAvis 4.3.0 (installed via pip) is incompatible with scikit-learn. You have to install 4.3.1 manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants