Skip to content

Commit

Permalink
fix .mplstyle file are not included in package data
Browse files Browse the repository at this point in the history
  • Loading branch information
henrysky committed Aug 26, 2024
1 parent 1c9b513 commit 3ed0b7a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion docs/source/basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ To use the style sheet for you own plot without importing ``mw-plot``, you can d

.. code-block:: python
>>> import mw_plot
>>> import matplotlib.pyplot as plt
>>> plt.style.use("mw_plot.mplstyle")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"

[tool.setuptools.package-data]
mw_plot = ["*.png", "*.jpg"]
mw_plot = ["*.png", "*.jpg", "*.mplstyle"]

[project]
name = "mw_plot"
Expand Down

0 comments on commit 3ed0b7a

Please sign in to comment.