Rediscovering Aesthetics of Yesteryears with smplotlib: A Bridge to SuperMongo Styling in Modern Data Visualization

In a domain where the phrase “a picture is worth a thousand words” rings particularly true, the journey of data visualization has witnessed a metamorphosis from simplistic graphs to today’s highly interactive and dynamic plots. Amidst this evolution, the quaint charm and professional allure of old-school styling inherent in figures from erstwhile technical papers have…

Continua a leggere →

Visualization with Matplotlib

Histogram Histograms are one of the heavily used plots across functions as it gives a very good view of the distribution of data. Line Single line: Several Lines How do we add multiple lines in the same chart? Let us take it a bit further to plot multiple lines in the same chart. Bar Plot…

Continua a leggere →

How to Interpolate Data with Scipy

Interpolation may sound like a fancy mathematical exercise, but in many ways, it is much like what machine learning does. Start with a limited set of data points relating multiple variables Interpolate (basically, create a model) Construct a new function that can be used to predict any future or new point from the interpolation So,…

Continua a leggere →

Plot 3D Functions With Matplotlib and NumPy

Math is beautiful, and the software we have at our fingertips represents an invaluable way to explore that beauty. Never before have we been able to visualize and experiment with mathematical objects in such an accessible way. In this short tutorial I would like to break down the steps required to plot a function of…

Continua a leggere →

3D Plotting with Matplotlib

Matplotlib was originally composed with only two-dimensional plotting in mind. Around the time of the 1.0 release, some three-dimensional plotting advantages were built on top of Matplotlib’s two-dimensional layout, and the effect is handy. Three-dimensional plots are enabled by importing all necessary libraries: Numpy, matplotlib and also import axes3d from mpl_toolkits.mplot.3d: Once axes3d is imported,…

Continua a leggere →

Basic data manipulation in Python…

In this post, we will deal with data from ECDC and we will explain basic data manipulation in Python with the Pandas package. In our day, data is everywhere in enormous size and depth. Data science is an emerging field that penetrates every aspect of our life and, lately, it has proved to be an…

Continua a leggere →

Python animations with Matplotlib

In Python, plotting graphs is straightforward — you can use powerful libraries like Matplotlib. It happens, however, that you need to visualize the trend over time of some variables – that is, you need to animate the graphs. Luckily, it’s just as easy to create animations as it is to create plots with Matplotlib. Matplotlib…

Continua a leggere →