Matplotlib Style Sheet Not Being Applied
I've been trying several style sheets but none of them seems to be applied to the canvas. This is the first time I'm using twinx() so maybe that's the issue. The code I have tried
Solution 1:
The stylesheet parameters are applied at the time the object that uses them is created.
E.g. if you want to have a figure and axes in a given style, you need to set the style sheet before creating them via plt.subplots
.
plt.style.use('fivethirtyeight')
fig, graph_1 = plt.subplots()
Post a Comment for "Matplotlib Style Sheet Not Being Applied"