About 61,900 results
Open links in new tab
  1. Change values on matplotlib imshow() graph axis - Stack Overflow

    I had a similar problem and google was sending me to this post. My solution was a bit different and less compact, but hopefully this can be useful to someone. Showing your image with …

  2. python - How to display an image - Stack Overflow

    If you are using matplotlib and want to show the image in your interactive notebook, try the following: %matplotlib inline import matplotlib.pyplot as plt import matplotlib.image as mpimg …

  3. python imshow, set certain value to defined color - Stack Overflow

    Jun 9, 2016 · I have a RGB Image, which I plot with matplotlib.pyplot.imshow and it works fine. But now I want to change the plot, that where the value of the picture is e.g 1, the color of the …

  4. how to use 'extent' in matplotlib.pyplot.imshow - Stack Overflow

    Aug 9, 2011 · Specify, in the coordinates of your current axis, the corners of the rectangle that you want the image to be pasted over Extent defines the left and right limits, and the bottom and …

  5. python - matplotlib plot and imshow - Stack Overflow

    The behavior of matplotlib's plot and imshow is confusing to me. import matplotlib as mpl import matplotlib.pyplot as plt If I call plt.show() prior to calling plt ...

  6. How does the pyplot.imshow () function work? - Stack Overflow

    If I understand your situation correctly, pyplot.imshow() will know nothing about the individual image dimensions, as you have it right now. It will consider your matrix as pixel values for a …

  7. Why matplotlib.pyplot.imsave() and matplotlib.pyplot.imshow() …

    Jan 6, 2019 · It seems matplotlib.imsave() lightens the image when compared to that of matplotlib.imshow(). For example, look at the code below. import imageio import …

  8. Imshow subplots with the same colorbar - Stack Overflow

    Aug 1, 2013 · I want to make 4 imshow subplots but all of them share the same colormap. Matplotlib automatically adjusts the scale on the colormap depending on the entries of the …

  9. How to update matplotlib's imshow () window interactively?

    Jul 24, 2013 · What works now is that if I have a simple imshow( array ) at the end of my code, the window displays and shows the final image. However what I'd like to do is to update and …

  10. python - Display multiple images in subplots - Stack Overflow

    How do I use the matlib function plt.imshow (image) to display multiple images? For example my code is as follows: for file in images: process (file) def process (filename): image = mpimg.i...

Refresh