Skip to content

Commit

Permalink
Merge pull request #4 from cgahr/improved_setup
Browse files Browse the repository at this point in the history
Improved setup
  • Loading branch information
cgahr committed Apr 6, 2023
2 parents 1b42dc2 + 53a7c03 commit cb12a82
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/test_styles_available.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from pathlib import Path

import matplotlib.pyplot as plt
import pytest

import latexplotlib as lpl # noqa: F401


@pytest.mark.parametrize("style", Path("src/latexplotlib/styles/").iterdir())
def test_styles_are_usable(style):
plt.style.use(style.stem)

0 comments on commit cb12a82

Please sign in to comment.