79298306

Date: 2024-12-20 20:13:29
Score: 5
Natty:
Report link

When I run the code below, the images are displayed vertically (The first time I ran the code below, I did not see any output on Jupyter NB). I was expecting to see them horizontally. If anyone knows how I can display them horizontally, please feel free to comment. Thanks!

for i in range(10):
    plt.figure(figsize=(20,3))
    plt.imshow(predictions[i].astype("float32"), cmap="gray_r")
    plt.show()
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): to comment
  • Blacklisted phrase (1): anyone knows
  • RegEx Blacklisted phrase (1): I can display them horizontally, please
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: Steven Dascoli