Skip to content

Commit a4b1bb6

Browse files
committed
🥾 review
1 parent 9808669 commit a4b1bb6

File tree

2 files changed

+72
-5
lines changed

2 files changed

+72
-5
lines changed

CHANGELOG.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
2+
3+
# v 0.8.0
4+
5+
## Major changes
6+
7+
### Faster aggregation 🐎
8+
the `lttbc` dependency is removed; and we added our own (faster) lttb C implementation. Additionally we provide a Python fallback when this lttb-C building fails. In the near future, we will look into CIBuildWheels to build the wheels for the major OS & Python matrix versions.
9+
A well deserved s/o to [dgoeris/lttbc](https://github.com/dgoeries/lttbc), who heavily inspired our implementation!
10+
11+
### Figure Output serialization 📸
12+
Plotly-resampler now also has the option to store the output figure as an Image in notebook output. As long the notebook is connected, the interactive plotly-resampler figure is shown; but once the figure / notebook isn't connected anymore, a static image will be rendered in the notebook output.
13+
14+
## What's Changed (generated)
15+
* :bug: return self when calling add_traces by @jvdd in https://github.com/predict-idlab/plotly-resampler/pull/75
16+
* :fire: add streamlit integration example by @jvdd in https://github.com/predict-idlab/plotly-resampler/pull/80
17+
* ✨ adding `convert_traces_kwargs` by @jonasvdd in https://github.com/predict-idlab/plotly-resampler/pull/81
18+
* Fix numeric `hf_y` input as dtype object by @jonasvdd in https://github.com/predict-idlab/plotly-resampler/pull/90
19+
* :fire: add support for figure dict input + propagate _grid_str by @jvdd in https://github.com/predict-idlab/plotly-resampler/pull/92
20+
* :pray: fix tests for all OS by @jvdd in https://github.com/predict-idlab/plotly-resampler/pull/95
21+
* Add python3dot10 by @jvdd in https://github.com/predict-idlab/plotly-resampler/pull/96
22+
* :sunrise: FigureResampler display improvements by @jvdd in https://github.com/predict-idlab/plotly-resampler/pull/97
23+
* :package: serialization support + :level_slider: update OS & python version in test-matrix by @jvdd in https://github.com/predict-idlab/plotly-resampler/pull/87
24+
* Lttbv2 🍒 ⛏️ branch by @jonasvdd in https://github.com/predict-idlab/plotly-resampler/pull/103
25+
* :robot: hack together output retention in notebooks by @jvdd in https://github.com/predict-idlab/plotly-resampler/pull/105
26+
* :package: improve docs by @jvdd in https://github.com/predict-idlab/plotly-resampler/pull/104
27+
28+
& some other minor bug fixes :see_no_evil:
29+
30+
**Full Changelog**: https://github.com/predict-idlab/plotly-resampler/compare/v0.7.0...v0.8.0
31+
32+
---
33+
34+
# V0.7.0
35+
36+
## What's Changed
37+
38+
**You can register plotly_resampler**; this adds dynamic resampling functionality *under the hood* to plotly.py! 🥳
39+
As a result, you can stop wrapping plotly figures with a plotly-resampler decorator (as this all happens automatically)
40+
> You only need to call the `register_plotly_resampler` method and all plotly figures will be wrapped (under the hood) according to that method's configuration.
41+
42+
-> More info in the [README](https://github.com/predict-idlab/plotly-resampler#usage) and [docs](https://predict-idlab.github.io/plotly-resampler/getting_started.html#how-to-use)!
43+
44+
Aditionally, all resampler Figures are now composable; implying that they can be decorated by themselves and all other types of plotly-(resampler) figures. This eases the switching from a FigureResampler to FigureWidgetResampler and vice-versa.
45+
46+
47+
## What's Changed (PR's)
48+
* 🦌 Adding reset-axes functionality by @jonasvdd in https://github.com/predict-idlab/plotly-resampler/pull/48
49+
* 🐛 Small bugfixes by @jonasvdd in https://github.com/predict-idlab/plotly-resampler/pull/52
50+
* 🔍 investigating gap-detection methodology by @jonasvdd in https://github.com/predict-idlab/plotly-resampler/pull/53
51+
* :mag: fix float index problem of #63 by @jonasvdd in https://github.com/predict-idlab/plotly-resampler/pull/64
52+
* :wrench: hotfix for rounding error by @jonasvdd in https://github.com/predict-idlab/plotly-resampler/pull/66
53+
* 🗳️ Compose figs by @jonasvdd in https://github.com/predict-idlab/plotly-resampler/pull/72
54+
* :sparkles: register plotly-resampler by @jvdd in https://github.com/predict-idlab/plotly-resampler/pull/70
55+
* :robot: update dependencies + new release by @jvdd in https://github.com/predict-idlab/plotly-resampler/pull/74
56+
57+
58+
**Full Changelog**: https://github.com/predict-idlab/plotly-resampler/compare/v0.6.0...v0.7.0

CONTRIBUTING.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ Make sure that this environment is activated when developing (e.g., installing d
5454
### Installing & building the dependencies
5555

5656
We use [poetry](https://python-poetry.org/) as dependency manager for this project.
57-
- The dependencies for installation & development are writtin in the [pyproject.toml](pyproject.toml) file (which is quite similar to a requirements.txt file).
58-
- To ensure that package versions are consistent with everyone who works on this project poertry uses a [poetry.lock](poetry.lock) file (read more [here](https://python-poetry.org/docs/basic-usage/#installing-with-poetrylock)).
57+
- The dependencies for installation & development are written in the [pyproject.toml](pyproject.toml) file (which is quite similar to a requirements.txt file).
58+
- To ensure that package versions are consistent with everyone who works on this project poetry uses a [poetry.lock](poetry.lock) file (read more [here](https://python-poetry.org/docs/basic-usage/#installing-with-poetrylock)).
5959

6060
To install the requirements
6161
```sh
62-
pip install poetry # install poetry
62+
pip install poetry # install poetry (if you do use the venv option)
6363
poetry install # install all the dependencies
64-
poetry run python build.py # build the underlying C code
64+
poetry build # build the underlying C code
6565
```
6666

6767
<details>
@@ -87,14 +87,23 @@ You can run the test with the following code:
8787
poetry run pytest --cov-report term-missing --cov=plotly-resampler tests
8888
```
8989

90-
To get the selenium tests working you should have google chrome installed.
90+
To get the selenium tests working you should have Google Chrome installed.
9191

9292
If you want to visually follow the selenium tests;
9393
* change the `TESTING_LOCAL` variable in [tests/conftest.py](tests/conftest.py) to `True`
9494

9595
### Generating the docs
9696

97+
When you've added or updated a feature; it is always a good practice to alter the
98+
documentation and [changelog.md](CHANGELOG.md).
9799

100+
The current listing below gives you the provided steps to regenerate the documentation.
101+
102+
1. Make sure that your python env is active (e.g., by running `poetry shell`)
103+
2. Navigate to `sphinx/docs` and run from that directory:
104+
```bash
105+
sphinx-autogen -o _autosummary && make clean html
106+
```
98107

99108
## More details on Pull requests
100109

0 commit comments

Comments
 (0)