Skip to content

Instantly share code, notes, and snippets.

@jmquintana79
Last active August 31, 2024 19:38
Show Gist options
  • Save jmquintana79/cb7d52f7a565494600046ce38a4898ce to your computer and use it in GitHub Desktop.
Save jmquintana79/cb7d52f7a565494600046ce38a4898ce to your computer and use it in GitHub Desktop.
from matplotlib import cm
selection_i = 1
total = 10
color = cm.jet(float(selection_i) / total)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment