Pandas Plot a good balance between flaxibility and ease of use

There are various excellent tools for plotting in both Python and R. Arguably, for most statistical plots, ggplot2 is the best. I have tried plotnine and seaborn in Python. While both are excellent packages, neither comes close to R’s ggplot2 in terms of ease of use, documentation, and resources. ggplot2, based on the grammar of graphics concept, has a well-structured and consistent framework, a large community, and an excellent extension ecosystem that enhances its usability....

July 31, 2024 · 4 min · 722 words · Maddy

Use subplot mosaic to fine control subplots in matplotlib

We can always create matplotlib subplots by using subplots in matplotlib. Below is an example to create a subplot of 3 rows and 2 colums. import numpy as np import pandas as pd import matplotlib.pyplot as plt fig, ax = plt.subplots(3,2,layout='tight') However there are times when we need fine control of subplots. This is when subplot_mosaic comes in to play. We can create any possible layout using mosaic. Below are some of the examples....

July 23, 2024 · 2 min · 228 words · Maddy

Deploying Hugo on Hostinger using ssh

I tried building this site for personal blogging for data and visualizations. Since building website is not my strength I was looking for something simpler and hence I choose Hugo which seems to be quite popular framework for building static website. Once getting the framework ready, I selected Hostinger for hosting. I wanted to be in a position where I could finish a page/blog and the site would get published in one push....

July 21, 2024 · 5 min · 872 words · Maddy