Skip to content

Circle vs Scatter API cleanup #13283

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Nov 7, 2023
Merged

Circle vs Scatter API cleanup #13283

merged 16 commits into from
Nov 7, 2023

Conversation

bryevdv
Copy link
Member

@bryevdv bryevdv commented Jul 26, 2023

Still WIP, just seeing how full CI performs at this point. I will update this description when the PR is ready.

@codecov
Copy link

codecov bot commented Jul 26, 2023

Codecov Report

Merging #13283 (2dc7d76) into branch-3.4 (0da1071) will decrease coverage by 0.03%.
The diff coverage is 75.00%.

@@              Coverage Diff               @@
##           branch-3.4   #13283      +/-   ##
==============================================
- Coverage       92.67%   92.64%   -0.03%     
==============================================
  Files             321      321              
  Lines           20397    20417      +20     
==============================================
+ Hits            18902    18916      +14     
- Misses           1495     1501       +6     

@bryevdv bryevdv force-pushed the bv/circle_scatter_cleanup branch 5 times, most recently from 0d76723 to 1b69489 Compare July 27, 2023 03:02
@bryevdv bryevdv force-pushed the bv/circle_scatter_cleanup branch from 1b69489 to 5d77499 Compare August 12, 2023 04:09
@mattpap mattpap changed the base branch from branch-3.3 to branch-3.4 October 10, 2023 12:46
@bryevdv
Copy link
Member Author

bryevdv commented Nov 5, 2023

@bokeh/core This ended up being a bit more involved than I expected. I am not sure when I will be able to get back to the last mile. But this PR is fairly big, so rather than keep it around in perpetuity I think we should do one of these two things in the next week:

  • merge this as-is as its own issue-PR and leave the original issue open to finish out hopefully soon
  • close this PR and just take on the entire issue fresh at some later time

Please let me know thoughts/preferences.

@mattpap mattpap force-pushed the bv/circle_scatter_cleanup branch from 29e3574 to 80dac99 Compare November 7, 2023 12:01
@mattpap mattpap added this to the 3.4 milestone Nov 7, 2023
@mattpap
Copy link
Contributor

mattpap commented Nov 7, 2023

I went ahead and finished this PR.

@bryevdv
Copy link
Member Author

bryevdv commented Nov 7, 2023

I went ahead and finished this PR.

For some reason I thought there was quite a bit more to go, but maybe my memory is just off. Happy to merge and close with an approval.

@mattpap
Copy link
Contributor

mattpap commented Nov 7, 2023

It was actually quite a bit of work, given there was an API bug that hid a lot of issues and TypeScript wasn't very helpful either with some corner cases.

@bryevdv
Copy link
Member Author

bryevdv commented Nov 7, 2023

Thanks @mattpap I'll merge later today!

@bryevdv bryevdv merged commit 99d19b1 into branch-3.4 Nov 7, 2023
@bryevdv bryevdv deleted the bv/circle_scatter_cleanup branch November 7, 2023 18:59
mattpap added a commit that referenced this pull request Dec 6, 2023
* Finalize replacement of Circle glyph with Scatter

* Fix deprecation warnings regarding status_iterator

* Make documentation CI task fail on error

* Fix Pandas' FutureWarning in basic/annotations/band.py

* Add --gitignore to isort's command

* Fix hatch_pattern in topics/contour/contour_polar.py

* Update get_graph_kwargs() of Figure.graph()

* Fix sphinxext.bokeh_releases after SRI-related changes

* Bump up deprecation version to 3.4.0
Chiemezuo pushed a commit to Chiemezuo/bokeh that referenced this pull request Aug 27, 2024
* implement circle/scatter deprecations

* update examples

* Update bokehjs' implementation

* Update bokehjs' tests and examples

* p.circle(size=...) -> p.scatter(size=...)

* Fix signature type of GlyphAPI.circle()

* Replace marker methods with p.scatter()

* Replace p.circle() with p.scatter()

* Require radius in p.circle() positional args

* Statically type TypedGlyphRenderer.*_glyph

* Allow to strictly enforce CDS fields in tests

* Update visual baselines

* Deprecate Figure's scatter methods in bokehjs

* Replace p.circle() with p.scatter() in examples/

* Replace p.circle() with p.scatter() in bokehjs/examples/

* Update tests/unit/bokeh/models/test_glyphs.py

---------

Co-authored-by: Mateusz Paprocki <mattpap@gmail.com>
Chiemezuo pushed a commit to Chiemezuo/bokeh that referenced this pull request Aug 27, 2024
* Finalize replacement of Circle glyph with Scatter

* Fix deprecation warnings regarding status_iterator

* Make documentation CI task fail on error

* Fix Pandas' FutureWarning in basic/annotations/band.py

* Add --gitignore to isort's command

* Fix hatch_pattern in topics/contour/contour_polar.py

* Update get_graph_kwargs() of Figure.graph()

* Fix sphinxext.bokeh_releases after SRI-related changes

* Bump up deprecation version to 3.4.0
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Complete the consolidation of scatter markers in bokeh.plotting
2 participants