Skip to content

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

Merged
mattpap merged 1 commit into
branch-3.3from
mattpap/factor_range_set_data
Aug 16, 2023
Merged

Don't set_data() when FactorRange.{start,end} changes#13333
mattpap merged 1 commit into
branch-3.3from
mattpap/factor_range_set_data

Conversation

@mattpap

@mattpap mattpap commented Aug 15, 2023

Copy link
Copy Markdown
Contributor

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

codecov Bot commented Aug 15, 2023

Copy link
Copy Markdown

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
@github-actions

Copy link
Copy Markdown

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