LakshmiHarika commited on
Commit
97fd744
·
verified ·
1 Parent(s): fd0402f

Update pages/Data Collection.py

Browse files
Files changed (1) hide show
  1. pages/Data Collection.py +1 -1
pages/Data Collection.py CHANGED
@@ -331,7 +331,7 @@ elif st.session_state.current_page == "explore_images_video":
331
  st.write("**Pixel Grid Visualization:**")
332
  grid = np.random.rand(int(height), int(width)) # Generate random grid values
333
  fig, ax = plt.subplots()
334
- cax = ax.imshow(grid, cmap="Paired")
335
  plt.colorbar(cax, ax=ax) # Add color bar for context
336
  ax.set_title("Pixel Grid")
337
  ax.set_xlabel("Width(pixels)", fontsize=8) # Set smaller font size
 
331
  st.write("**Pixel Grid Visualization:**")
332
  grid = np.random.rand(int(height), int(width)) # Generate random grid values
333
  fig, ax = plt.subplots()
334
+ cax = ax.imshow(grid, cmap="Pastel1")
335
  plt.colorbar(cax, ax=ax) # Add color bar for context
336
  ax.set_title("Pixel Grid")
337
  ax.set_xlabel("Width(pixels)", fontsize=8) # Set smaller font size