I use matplotlib to build data (using plot and errorbar ) from Python. I need to build a set of completely separate and independent charts, and then adjust their ylim values ylim that they can be visually compared.
How can I get the ylim values โโfrom each graph so that I can take the min and max of the lower and upper ylim values โโrespectively and adjust the graphs so that they can be visually compared?
Of course, I could just ylim data and come up with my own ylim values โโ... but I would like to use matplotlib for this. Any suggestions on how easy (and efficient) to do this?
Here is my Python function using matplotlib :
import matplotlib.pyplot as plt def myplotfunction(title, values, errors, plot_file_name):
python matplotlib plot
synaptik Sep 30 '14 at 23:05 2014-09-30 23:05
source share