Advertisement
furas

matplot image without axis

Jun 29th, 2018
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  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()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement