Skip to content

Refactor to use holoviews powered bar charts#494

Merged
rapids-bot[bot] merged 72 commits into
rapidsai:branch-23.08from
AjayThorve:refactor/replace-bokeh-with-holoviews
Aug 4, 2023
Merged

Refactor to use holoviews powered bar charts#494
rapids-bot[bot] merged 72 commits into
rapidsai:branch-23.08from
AjayThorve:refactor/replace-bokeh-with-holoviews

Conversation

@AjayThorve
Copy link
Copy Markdown
Member

@AjayThorve AjayThorve commented Jun 20, 2023

This PR refactors the bokeh charts implementation, and uses holoviews to generate the charts, while also using box-selects instead of range_sliders. This was done for 2 reasons, stability of holoviews api, which also is much more efficient, and to use streams + custom callbacks to link all charts with bar_charts.

Some of the other notable changes:

  • Using holoviews to generate bokeh plots, allows us to str columns directly for bar charts
  • Persistent non-selection view for bar_charts
  • Got rid of redundant bokeh line chart, and now a single implementation exists under datashader/line, callable cuxfilter.charts.line
  • removed preview as pyppeteer was unstable
  • Refactor to remove redundant functions and classes

Copy link
Copy Markdown
Member

@exactlyallan exactlyallan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lot of changes! Whats the quick rational for removing the bokeh line chart?

@AjayThorve AjayThorve removed the doc Documentation label Aug 4, 2023
@github-actions github-actions Bot added the doc Documentation label Aug 4, 2023
@AjayThorve AjayThorve removed the doc Documentation label Aug 4, 2023
@AjayThorve
Copy link
Copy Markdown
Member Author

AjayThorve commented Aug 4, 2023

Lot of changes! Whats the quick rational for removing the bokeh line chart?

Updated the description,

Adding to it: The current implementation had two line charts, one under bokeh, and another under datashader. Removed one to avoid confusion, and bokeh line's implementation that cuxfilter had wasn't really accomplishing anything that bar charts weren't.

@github-actions github-actions Bot added the doc Documentation label Aug 4, 2023
@AjayThorve AjayThorve removed the doc Documentation label Aug 4, 2023
@github-actions github-actions Bot added the doc Documentation label Aug 4, 2023
@AjayThorve AjayThorve removed the doc Documentation label Aug 4, 2023
@AjayThorve
Copy link
Copy Markdown
Member Author

/merge

@github-actions github-actions Bot added the doc Documentation label Aug 4, 2023
@AjayThorve AjayThorve removed the doc Documentation label Aug 4, 2023
@AjayThorve AjayThorve mentioned this pull request Aug 4, 2023
@rapids-bot rapids-bot Bot merged commit 8827cbb into rapidsai:branch-23.08 Aug 4, 2023
raydouglass pushed a commit that referenced this pull request Aug 4, 2023
Follow up to #494, updates API docs and screenshots.

cc @exactlyallan

Authors:
   - Ajay Thorve (https://github.com/AjayThorve)

Approvers:
   - Allan (https://github.com/exactlyallan)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conda improvement Improvement / enhancement to an existing function non-breaking Non-breaking change Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants