Spaces:
Sleeping
Sleeping
Update pages/Data Collection.py
Browse files- 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="
|
| 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
|