Tags » MatPlotLib

How to hide axis of plot in Matplotlib

For most types of plots drawn by Matplotlib, the ticks and labels along both X and Y axis is drawn too. To hide the ticks, labels or axis, we need to get the axes of the currently generated plot and change its properties. 111 more words

Got a Python Developer Internship Offer!

Hi everyone,

I’ve just received a internship offer for a Python Developer role at a financial institution starting next week, where I’ll be helping to build a data analysis platform based on Python, panda, wxpython, and matplotlib! 107 more words


Projection of a 3D surface plot as a density plot

3D surface plots are not uncommon in physics, but sometimes the surfaces are bit convoluted which makes it difficult to see them in their entirety. In such cases it is useful to have their projection as a density plot. 112 more words


Kivy backend using Line and Mesh graphics instructions

This is the first prototype for the backend, points are extracted from the path an transformed into polygons or lines. Line and Mesh are used in the kivy side to render these objects in a widget canvas. 43 more words


Writing a matplotlib renderer for Kivy

A Renderer is a class that knows all the graphics instructions to draw in a canvas. The first implementation involved to use the canonical agg renderer to get a figure which we could texture in a rectangle, this is fully explained in a previous post. 322 more words


How to draw scatter plot using Matplotlib

Scatter plots are useful to show data points that lie in 2D. Drawing a scatter plot in Matplotlib is easy using the scatter function.

  • Assuming your data points are available as two NumPy arrays of shape…
  • 280 more words

Connecting events between kivy and matplotlib

Matplotlib provides a list of events that can be connected to an external backend. This list of events can be found in backend_bases.py, the events are: 593 more words