Skip to content

Commit

Permalink
Fix tutorial with plt.style.use
Browse files Browse the repository at this point in the history
  • Loading branch information
bobleesj authored Aug 8, 2024
1 parent 4d2ffc3 commit e32887c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ To use the stylesheet, near the beginning your python script type ::
for example ::

from bg_mpl_stylesheets.styles import all_styles
plt.style.use(all_styles["bg-style"])
plt.style.use(all_styles["bg_style"])

If you wish to use BillingeGroup stylesheet as the default style for all your plots, please follow these steps.

Expand Down

3 comments on commit e32887c

@bobleesj
Copy link
Contributor Author

@bobleesj bobleesj commented on e32887c Aug 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 result was found for bg-style with global search

@sbillinge
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bobleesj actually, I think I prefere bg-style here so let's leave the readme as it is, but change this in the code? It will break wherever it is being used, but we can go and fix that.

@bobleesj
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bobleesj actually, I think I prefere bg-style here so let's leave the readme as it is, but change this in the code? It will break wherever it is being used, but we can go and fix that.

All key has been modified from bg_style to bg-style, globally. CI passes. Please merge!

Please sign in to comment.