In this post I share a simple hack to automatically format the contour labels in a suitable string format in a matplotlib contour plot.
Have a bit of fun with matplotlib and Python.
This is a follow-up post to [Experiment with a new data and program files naming convention - part 1]. In this post I am sharing the program tools I made to facilitate the implementation of the scheme.
How do you name your program scripts and data files?
In this post I introduce a method to programmatically compute a suitable padding value for the colorbar in a matplotlib plot.
This post shares a Python implementation to compute the Silhouette Values in a clustering analysis.
Sometimes it is more desirable to label the contour lines at the edge of a matplotlib plot, rather than inside. This post proposes one solution for this task.
This post shares a trick to align up the axis ticks on multiple y-axes in a matplotlib plot.
This post discusses how to change the tick label texts of an axis in a **matplotlib** plot, while preserving the axis offset.
Some basic netCDF data reading, creating and saving are covered in this chapter of the CDAT tutorial series.