Closed jayceslesar closed 1 year ago
Hi @jayceslesar! Really cool repo! Had not heard from it yet!
Based on these statistics, python 3.8
is still on the rise.
However, as the older versions would still be supported by e.g., plotly-resampler<=0.8.X
, there is a case for being more severe with our version support.
What would be the main advantage of porting these annotations @jayceslesar? What are your thoughts on this @jvdd.
I will review your code somewhere this week!
And of course, Happy holidays! 🎅🏼
Hi @jayceslesar! Really cool repo! Had not heard from it yet!
Based on these statistics,
python 3.8
is still on the rise. However, as the older versions would still be supported by e.g.,plotly-resampler<=0.8.X
, there is a case for being more severe with our version support.What would be the main advantage of porting these annotations @jayceslesar? What are your thoughts on this @jvdd.
I will review your code somewhere this week!
And of course, Happy holidays! 🎅🏼
I guess I am biased that the new annotations are really just nicer to look at haha, but I see your points, no reason to not support older versions if they are still being widely used
And cheers! Happy holidays
Merging #152 (949b445) into main (46499ef) will increase coverage by
0.22%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## main #152 +/- ##
==========================================
+ Coverage 97.08% 97.30% +0.22%
==========================================
Files 12 12
Lines 892 891 -1
==========================================
+ Hits 866 867 +1
+ Misses 26 24 -2
Impacted Files | Coverage Δ | |
---|---|---|
plotly_resampler/aggregation/aggregators.py | 91.66% <ø> (ø) |
|
plotly_resampler/__init__.py | 84.61% <100.00%> (+13.18%) |
:arrow_up: |
plotly_resampler/aggregation/algorithms/lttb_c.py | 100.00% <100.00%> (ø) |
|
...tly_resampler/figure_resampler/figure_resampler.py | 90.35% <100.00%> (ø) |
|
...ler/figure_resampler/figure_resampler_interface.py | 99.73% <100.00%> (ø) |
|
...sampler/figure_resampler/figurewidget_resampler.py | 99.03% <100.00%> (ø) |
|
plotly_resampler/figure_resampler/utils.py | 96.29% <100.00%> (ø) |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
I think merging this PR will make you (@jayceslesar) the first contributor besides @jonasvdd & me to make improvements to the Python code :tada: :clinking_glasses:
And ofc happy holidays!! :santa: :fireworks:
Thanks a lot @jayceslesar! I'll merge this one! 🤝
Used the python library refurb against this repo and added most of the suggested changes.
Feel free to counteract any!
I think good future work will be dropping support for anything lower than python 3.9 as well and porting all annotations to future syntax in terms of codebase wide changes.