There are no comments in the graph.py file – add comments for the functions to explain their purpose or to provide an explanation for unique input/output scenarios.
The code itself is readable, my only recommendation would be to not shorten every single variable name. An example would be to rewrite the variable name “plt” to “plot”, and “recd_data” can become “record_data”. Shortening variables is good when they are really long names, but if they’re short to begin with then it’s okay to keep the original name.
There are no comments in the graph.py file – add comments for the functions to explain their purpose or to provide an explanation for unique input/output scenarios.
The code itself is readable, my only recommendation would be to not shorten every single variable name. An example would be to rewrite the variable name “plt” to “plot”, and “recd_data” can become “record_data”. Shortening variables is good when they are really long names, but if they’re short to begin with then it’s okay to keep the original name.