Bar plot not showing up in Jupyter Notebook

I am trying to create a bar plot for a Pandas Series and the bar plot is not showing up in Jupyter notebook.

When I run the cell, I only get the following and I do not see the bar plot.

matplotlib.figure.Figure at 0x7fa555abc080

Please advise.

Topic matplotlib jupyter pandas python

Category Data Science


Try adding the %matplotlib magic function in your notebook, before the plot function, preferably in the beginning. This will enable the inline backend for usage with the IPython Notebook:

import pandas as pd
import matplotlib.pyplot as plt

%matplotlib inline


<your code here>

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.