Can we use something like this plt.savefig('graph.graph')???
If not then what can be the proper way to save the graph at local storage but not in image or pdf format. I want to store graphs.
Can we use something like this plt.savefig('graph.graph')???
If not then what can be the proper way to save the graph at local storage but not in image or pdf format. I want to store graphs.
Assuming you are using Matplotlib,
savefig(fname, dpi=None, facecolor='w', edgecolor='w',
orientation='portrait', papertype=None, format=None,
transparent=False, bbox_inches=None, pad_inches=0.1,
frameon=None, metadata=None)
refer the documentation to understand further: https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.savefig.html
Edit:
Refer this answer to store graph's data How to Store Graphs?