Python code that fetch data from MQ135 sensors connected to Arduino. It plots the data in real time and allows to save the image when you exit the visualization.
It uses matplotlib, shelve, curses, threading, serial, csv, and time modules.
Allows to save the data in a plot image in PNG format.