diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d4341dc..839c484 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest environment: name: pypi - url: https://pypi.org/p/ # Replace with your PyPI project name + url: https://pypi.org/p/plotly-gtk # Replace with your PyPI project name permissions: id-token: write steps: @@ -23,10 +23,10 @@ jobs: python-version: '3.12' cache: 'pip' - name: Build - run: python -m build + run: pip install build && python -m build - name: Release uses: softprops/action-gh-release@v1 with: files: dist - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file + uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..8cba1f3 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,44 @@ +## 0.2.0 (2024-09-15) + +### Features + +- introduce log axes (#3) [slaclau](77557628+slaclau@users.noreply.github.com) (538793375711538c77f1974ae917ef1e8226c907) +- load plotly template from json [slaclau](seb.laclau@gmail.com) (ed512148d544d83e4de6fc6326eec12f58813539) +- make plotly.go optional [slaclau](seb.laclau@gmail.com) (05e444460b827820939d380898bba09de8bf5441) +- commit plotly schema [slaclau](seb.laclau@gmail.com) (3e302d8d45e22ae6a005691dd8664263d830eaa2) +- add plotly_types [slaclau](seb.laclau@gmail.com) (5be0672a1d7bf78010dd77708aad0477e68d352b) + +### Fixes + +- **lint.yaml**: fix issue with pygobject installation [slaclau](seb.laclau@gmail.com) (d2875ef42b6a4359957f4e33e0bbb0d54f756624) +- reviewdog permissions (#8) [slaclau](77557628+slaclau@users.noreply.github.com) (f68a8e47dded56ff81008114149c181172d0c0a9) +- update ticks when trace visibility is changed [slaclau](seb.laclau@gmail.com) (44244c37c981d738506f4465edd258559255be24) +- fix legend when legendgroup is blank [slaclau](seb.laclau@gmail.com) (9ce6a29b028084eaf7d874dd183ba76995a3c27c) +- fix grid lines and background for log axes [slaclau](seb.laclau@gmail.com) (f5cb4a612fe936b87b8cc36a78534b51a6223027) +- pass additional demos from https://plotly.com/python/line-and-scatter/ [slaclau](seb.laclau@gmail.com) (26530a236cecde784226b9460d12ed1b751aafab) +- pass 4 demos from https://plotly.com/python/line-and-scatter/ [slaclau](seb.laclau@gmail.com) (dd4d4b59a35a267508c8e521c4a3a8471a448a4f) + +### Documentation + +- add badges to README.md (#2) [slaclau](seb.laclau@gmail.com) (591fc67925b2bd2b3a209621d6c47246000fb44f) +- tidy sphinx config (#2) [slaclau](seb.laclau@gmail.com) (cbc4a78652287017910787c12e1f1664e891e92c) +- update README.md [slaclau](77557628+slaclau@users.noreply.github.com) (81a4e0c28f3ae0826c7adc2862b9bd73ddd705dc) +- include figures from demo/broadway/test_broadway.py in sphinx documentation (#1) [slaclau](77557628+slaclau@users.noreply.github.com) (d8c35047ddef3ae13c577ec200b1de6ca9bcccce) +- add RTD config [slaclau](77557628+slaclau@users.noreply.github.com) (74957db33643e319233cec508502bfe2ca769ab6) +- update README.md [slaclau](77557628+slaclau@users.noreply.github.com) (0fcf121bd37b425cd0944c6d73760c0009bb6095) +- sphinx setup [slaclau](seb.laclau@gmail.com) (fd3e35e4094956abeaa6a4928d55c23f3b15ef17) + +### Build + +- include demo tests in test report [slaclau](seb.laclau@gmail.com) (2c29ac9ddc18ec6025acb3b3b1ccb27eac8a5534) +- **commitizen**: use custom plugin cz-trailers (#5) [slaclau](seb.laclau@gmail.com) (cd18d33d2d94925f45d780f498d8752962cd5232) +- add commitizen [slaclau](77557628+slaclau@users.noreply.github.com) (6e9bf3c499334204bc2b0ed2fb7805feb1d46681) +- add coverage config (#2) [slaclau](seb.laclau@gmail.com) (81f23c981dfc17b2fb4b26a94fd7d2cca9c160b1) +- add linting workflow (#2) [slaclau](seb.laclau@gmail.com) (98574b8d386dc5170796a8e11293692bf6c7f1bb) +- create dependabot.yml [slaclau](77557628+slaclau@users.noreply.github.com) (f5fb58b328bab84ac9aa661ff18fd6ea81e35db1) +- get upstream plotly schema and templates [slaclau](77557628+slaclau@users.noreply.github.com) (d926f6a1d3471a51e04487529980122b89ec65cb) +- update workflows [slaclau](seb.laclau@gmail.com) (481cffe3a68613abe4437625c903bee427615c75) +- add gh-pages workflow [slaclau](seb.laclau@gmail.com) (31461e44b6298f43459034f161bcd9d7d7b6bcc2) +- update deps and pylint config in pyproject.toml [slaclau](seb.laclau@gmail.com) (abf6d6abdc96b61ed2dd81bad7b6b7df8e2e7ca4) + +## 0.1.0 (2024-07-11) diff --git a/test/demo/broadway/test_broadway.py b/test/demo/broadway/test_broadway.py index 692de7a..834848f 100644 --- a/test/demo/broadway/test_broadway.py +++ b/test/demo/broadway/test_broadway.py @@ -8,10 +8,11 @@ import gi import numpy as np -import pytest from PIL import Image from selenium import webdriver +import pytest + os.environ["BROADWAY_DISPLAY"] = ":5" gi.require_version("Gdk", "4.0") from gi.repository import Gdk diff --git a/test/test_chart.py b/test/test_chart.py index 97343e4..704cbfd 100644 --- a/test/test_chart.py +++ b/test/test_chart.py @@ -2,8 +2,8 @@ from test import get_random_strings import numpy as np -import pytest +import pytest from plotly_gtk.chart import PlotlyGtk _50categories = get_random_strings(50)