Sometimes you might want to highlight a select data points on a scatter plot. Often when plotting scatter plots you might want to highlight data points in a different color from the rest of the data points. Other times you want to show select data points in different color and annotate them with text. In […]
Matplotlib
How to Make a Plot with Two Different Y-axis in Python with Matplotlib ?
Sometimes, as part of a quick exploratory data analysis, you may want to make a single plot containing two variables with different scales. One of the options is to make a single plot with two different y-axis, such that the y-axis on the left is for one variable and the y-axis on the right is […]
Python’s Matplotlib Version 2.2 is here
Matplotlib, the python’s core plotting library, Matplotlib Version 2.2 is available now. The new Matplotlib Version 2.2 has a lot of new things to try including A new method to automatically decide spacing between subplots. In the current version, one typically uses tight_layout method to tighten the spaces around plot objects The new method called […]