I have a 2D array. Lets say column 1 (a distribution), ranges from 0-2, column 2, ranges from 2-4, column 3, from 4-6 etc. I want to have a histogram plot for each of the columns, colored by the range, so for
column 1, blue-0 and red-2,
column 2, blue-2 and red-4,
...and so on.
我不确定,但我认为您可以看看matplotlib 。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.