Closed
Description
Problem
Hello!
I am trying to plot a series of bars within a bar plot, and I want each bar to have its own color and linestyle. I intend to achieve this by using a list of colors, and a list of linestyles, and then simply plot the bars and set the color and linestyle to their respective lists. This works for color, but not for linestyle, since the linestyle function does not recognize a list as input.
Below I have two code snippets, and their respective outputs, which highlights the problem.
First, without using linestyle:
I have checked that all of the linestyles are compatible with the plt.bar function.
Proposed solution
No response