Charts in Python

Every statistical programming language should have facility of charts. In python also you can create charts by importing matplotlib.pyplot library.

Here is a simple example of how to create charts in python:chart1Now we will create bar graph for the radish voting problem:


Now as you can see there is no label for Y axis, we can easily add it by ylabel(“Vote Count”) command.




Leave a Reply

Your email address will not be published. Required fields are marked *