0

I have a question and hope someone can help me out with this one:

I would like to create a colorbar like in the picture below (the picture was created in PowerPoint , so code behind it). The idea is that I would like to display in a plot whether certain files in a folder are not available, available once or available several times.

I have already seen some code snippets here on stackoverflow, but unfortunatly I do not get it...

Has anyone an idea how to create that?

Thank you all in advance!

Sherlock70
  • 564
  • 10
  • 24
  • Does this answer your question? [Matplotlib discrete colorbar](https://stackoverflow.com/questions/14777066/matplotlib-discrete-colorbar) – blunova May 18 '22 at 09:09
  • Does this answer your question? [Defining a discrete colormap for imshow in matplotlib](https://stackoverflow.com/questions/9707676/defining-a-discrete-colormap-for-imshow-in-matplotlib) – Jody Klymak May 18 '22 at 09:50

0 Answers0