png - matplotlib subplot with image background -


how can create subplot, background created fully, without gray boundry, png image file.png

i have tried:

import matplotlib.pyplot plt im = plt.imread('map.gif') implot = plt.imshow(im,aspect='auto',origin='lower') fig0=implot.figure.tight_layout(pad=0.5) implot.axes.set_axis_off() fig1=implot.figure  ax1=fig1.add_subplot(2,2,1)  ax1.plot(range(10)) ax2=fig1.add_subplot(2,2,2) ax2.plot(range(9,-1,-1))  plt.show() 

i cannot image span whole graphics window

thanks

ilan


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -