[PYTHON] One liner that lists the colors of matplotlib

python


python -c 'import matplotlib ; print matplotlib.colors.cnames' | perl -F, -lane 'print for @F' | head
{'indigo': '#4B0082'
 'gold': '#FFD700'
 'hotpink': '#FF69B4'
 'firebrick': '#B22222'
 'indianred': '#CD5C5C'
 'yellow': '#FFFF00'
 'mistyrose': '#FFE4E1'
 'darkolivegreen': '#556B2F'
 'olive': '#808000'
 'darkseagreen': '#8FBC8F'

Recommended Posts

One liner that lists the colors of matplotlib
One liner that randomly rewrites the startup time of cron
One liner that outputs 1000000 digits of pi in Python
Change the style of matplotlib
Unravel the mystery of matplotlib specgram
About the size of matplotlib points
The story of creating a site that lists the release dates of books
This and that of the inclusion notation.
Align the size of the colorbar with matplotlib
The advantages and disadvantages of Django that people with one year of experience think
One liner that outputs multiplication tables in Python
About the X-axis notation of Matplotlib bar graphs
zsh settings that facilitate the use of virtualenv
Increase the font size of the graph with matplotlib
Put the second axis in 2dhistgram of matplotlib
The basis of graph theory with matplotlib animation
Code for checking the operation of Python Matplotlib
The one that displays the progress bar in Python
Visualize the behavior of the sorting algorithm with matplotlib
matplotlib: Replace the axis itself with another one.
Here is one of the apps with "artificial intelligence" that I was interested in.
A story that reduces the effort of operation / maintenance
[Python] A program that counts the number of valleys
Add information to the bottom of the figure with Matplotlib
Make a BOT that shortens the URL of Discord
# Function that returns the character code of a string
Python that merges a lot of excel into one excel
The one that just translated the Py2app option into Japanese
The one that graphs the one that got the fitbit data from the server
Note that the latest link of ius has changed
LINE Bot that notifies you of the stocks of interest
Generate that shape of the bottom of a PET bottle
The story that the return value of tape.gradient () was None
A story that analyzed the delivery of Nico Nama.
[Introduction to Python] Basic usage of the library matplotlib
The attitude that programmers should have (The Zen of Python)
[Python] A program that compares the positions of kangaroos.
Script that changes the length of the sound with REAPER
Adjust the ratio of multiple figures with the matplotlib gridspec
One liner that beautifully displays cron for all users
Clustering G-means that automatically determines the number of clusters