Skip to content

Don't set_data() when FactorRange.{start,end} changes #13333

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 1 commit into from
Aug 16, 2023

Conversation

mattpap
Copy link
Contributor

@mattpap mattpap commented Aug 15, 2023

Previously GlyphRendererView depended on FactorRange.change signal, which would emit when start and/or end properties changed. This led to excessive set_data() calls, making even low-data plots with categorical ranges quite CPU hungry.

@codecov
Copy link

codecov bot commented Aug 15, 2023

Codecov Report

Merging #13333 (a7415f5) into branch-3.3 (88109a2) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           branch-3.3   #13333   +/-   ##
===========================================
  Coverage       92.45%   92.45%           
===========================================
  Files             315      315           
  Lines           20152    20152           
===========================================
  Hits            18631    18631           
  Misses           1521     1521           

@mattpap mattpap merged commit a703abe into branch-3.3 Aug 16, 2023
@mattpap mattpap deleted the mattpap/factor_range_set_data branch August 16, 2023 07:33
Chiemezuo pushed a commit to Chiemezuo/bokeh that referenced this pull request Aug 27, 2024
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.

2 participants