Convert Rainbow matrix to RBG and save as PNG

Published: 11/01/2019
Convert Rainbow matrix to RBG and save as PNG
Source: STACKOVERFLOW.COM

I'm following this tutorial: https://pyts.readthedocs.io/en/latest/auto_examples/plot_gaf.html in order to generate GADF and GASF matrix. Everything works well. I only need to save, as png, the results contained in X_gasf[0] but I don't know how do it. I already tried this: fig = plt.imshow(X_gadf[0], cmap='rainbow', aspect='equal') fig.axes.get_xaxis().set_visible(False) fig.axes.get_yaxis(

Read more
Related news
Comment
FACEBOOK