EuroSciPy logo

EuroSciPy 2013

Brussels, Belgium - August 21-24 2013

Matplotlib tutorial

Nicolas P. Rougier

Thu 22 9 a.m.–12:30 p.m. in H.1301


Target audience

Python users who would like to create nice 2D plots. Engineers and scientists are typically most interested.


Basic Python skills. Numpy knowledge is helpful but not required. Software requirements python, numpy, matplotlib


After reviewing the main concepts behind scientific visualization as well as reviewing the open source visualization eco-system, we will experience specifically the matplotlib library that provides many different types of high-quality figures from within python with only few lines of code. Several examples will be used to exercise the use of this library and we will investigate more specifically:

  • title, labels, legend and text
  • colors, markers and styles
  • size, resolution and coordinate systems
  • figures, supblots and ticks
  • interaction and animations

Finally, you'll be encouraged to create a high-quality plot related to your field of research and submit it to the gallery.