Python seaborn: More than just matplotlib

voilinplot

This is the second of the series on the python libraries. I do not know how much I will write but remember, these are only learning notes. The inspiration came this time from the ever-present stackoverflow.com, with an article on making matplotlib graphs look like R by deafult. I am learning here, so for the moment I do not exactly know what a R graph should look like, I will know when I will tackle R. However, I am tacking Python, and therefore here we are. The seaborn library looks very interesting. On the web site there are plenty of examples in the gallery, if you click on one of them you will get to the source code used to generate the graphs. My examples are slightly modified versions of the ones on the original page, because I am exploring. Let’s start with the original question of the stackoverflow article:

This originates the following plot:

tickgraph

To have just an idea of how powerful this can be, here another example:

And this is the resulting boxplot:

boxplot

Leave a Reply