@realpython.comReal Python @realpython.com
2026-11-25 21:30 UTC
3. For color, you can pass c a list of RGB tuples, like (0, 1, 0) for green, and get traffic-light colors for low, medium and high sugar. Or pass c the raw sugar numbers, pick a cmap and call plt.colorbar(). Now color is a continuous scale with its own legend.
A reply in a thread.
0 likes, 0 reposts, 1 replies
3 Next post4 More from @realpython.comBackBluesky home