Skip to content

Commit b117121

Browse files
jonasvddjvdd
andauthored
Rangeslider support (#254)
* ✨ first draft of improved xaxis filtering * 🙈 fix bug * 🙏 fix typeError * 🙏 update webdriver-manager * 🙏 fixating chromedriver version * Revert "🙏 fixating chromedriver version" This reverts commit 87bd318. * 🙏 test fixating chrome driver * 🙈 * 🙏 * 💨 remove webdriver manager * ✨ adding docs * ✨ first draft of rangeslider support * 🔥 adding clean js asset code * 🔍 code review * 🧹 cleaning up code * 🖍️ cleaning up docs * ✨ adding shading * 🔍 support for `go.Figure` figures * 🔍 support for go.Figure (i.e. non subplot figures) * 💪 xaxis overview example * 🐨 adding examples * 🏫 adding tests * 🙈 formatting * ✨ add xaxis overview to example notebook * 🙏 fix subplot update bug * 🦘 code review ft @jonasvdd * 💨 merging changes * 🔍 review * 🔥 adding support for None row_idxs * ✨ adding overview docs * 🙏 fix tests * 🙏 fixing tests * ✈️ updating docs NZ272 --------- Co-authored-by: Jeroen Van Der Donckt <[email protected]>
1 parent c722dc1 commit b117121

File tree

12 files changed

+1213
-213
lines changed

12 files changed

+1213
-213
lines changed

examples/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ The [basic example notebook](basic_example.ipynb) covers most use-cases in which
1717

1818
Additionally, this notebook also shows some more advanced functionalities, such as:
1919
* Retaining (a static) plotly-resampler figure in your notebook
20+
* How to utilize an x-axis overview (i.e., a rangeslider) to navigate through your time series
2021
* Showing how to style the marker color and size of plotly-resampler figures
2122
* Adjusting trace data of plotly-resampler figures at runtime
2223
* How to add (shaded) confidence bounds to your time series
@@ -43,6 +44,8 @@ The [dash_apps](dash_apps/) folder contains example dash apps in which `plotly-r
4344
| [global variable](dash_apps/01_minimal_global.py) | *bad practice*: minimal example in which a global `FigureResampler` variable is used |
4445
| [server side caching](dash_apps/02_minimal_cache.py) | *good practice*: minimal example in which we perform server side caching of the `FigureResampler` variable |
4546
| [runtime graph construction](dash_apps/03_minimal_cache_dynamic.py) | minimal example where graphs are constructed based on user interactions at runtime. [Pattern matching callbacks](https://dash.plotly.com/pattern-matching-callbacks) are used construct these plotly-resampler graphs dynamically. Again, server side caching is performed. |
47+
| [xaxis overview (rangeslider)](dash_apps/04_minimal_cache_overview.py) | minimal example where a linked xaxis overview is shown below the `FigureResampler` figure. This xaxis rangeslider utilizes [clientside callbacks](https://dash.plotly.com/clientside-callbacks) to realize this behavior. |
48+
| [xaxis overview (subplots)](dash_apps/05_cache_overview_subplots.py) | example where a linked xaxis overview is shown below the `FigureResampler` figure (with subplots). |
4649
| **advanced apps** | |
4750
| [dynamic sine generator](dash_apps/11_sine_generator.py) | exponential sine generator which uses [pattern matching callbacks](https://dash.plotly.com/pattern-matching-callbacks) to remove and construct plotly-resampler graphs dynamically |
4851
| [file visualization](dash_apps/12_file_selector.py) | load and visualize multiple `.parquet` files with plotly-resampler |

0 commit comments

Comments
 (0)