Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
DominiqueMakowski committed Dec 16, 2023
1 parent 119484d commit fdc5ec8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,12 @@ jobs:
# - macos-latest # macOS-10.14
# - windows-latest # windows-2019
python-version: [3.11, 3.12]
#exclude:
# - platform: windows-latest
# python-version: 3.8

steps:
- uses: actions/checkout@master

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -42,4 +39,4 @@ jobs:
cd $GITHUB_WORKSPACE && python -m tox -e py
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
4 changes: 2 additions & 2 deletions pyllusion/image/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Pyllusion submodule.
"""

from .fig2image import fig2image
from .fig2img import fig2img
from .image_blob import image_blob, image_blobs
from .image_circle import image_circle, image_circles
from .image_line import image_line
Expand All @@ -25,5 +25,5 @@
"image_mosaic",
"image_scramble",
"rescale",
"fig2image"
"fig2img"
]
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def fig2img(fig):
>>>
>>> plt.plot([1, 2, 3, 4, 5])
>>> fig = plt.gcf()
>>> fig2img(fig)
>>> pyllusion.fig2img(fig)
"""
buffer = io.BytesIO()
Expand Down

0 comments on commit fdc5ec8

Please sign in to comment.