SHARE
TWEET

matplot image without axis

furas Jun 29th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import matplotlib.pyplot as plt
  2.  
  3. fig, ax = plt.subplots(1,2)
  4.  
  5. data = plt.imread('http://via.placeholder.com/350x150')
  6.  
  7. ax[0].imshow(data)
  8. ax[0].axis('off')
  9.  
  10. ax[1].imshow(data)
  11.  
  12. plt.show()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top