feat: Disable progress bars in Anywidget mode (#2444) · googleapis/python-bigquery-dataframes@4e2689a · GitHub
Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 4e2689a

Browse files
authored
feat: Disable progress bars in Anywidget mode (#2444)
This PR improves the user experience of the interactive Anywidget display mode by automatically disabling progress bars and job logging during widget operations. Changes: Wrapped the get_anywidget_bundle call in repr_mimebundle with option_context("display.progress_bar", None) to silence the initial widget load. Wrapped TableWidget._initial_load and TableWidget._set_table_html methods to silence subsequent interactions like pagination and sorting. Motivation: When interacting with the TableWidget (paging, sorting), the repeated appearance of progress bars creates visual noise and clutter in the notebook output cell, distracting from the interactive data exploration experience. This change ensures a clean and seamless interface. Verified at: vs code notebook: screen/B7hCnXdLeTiFshr colab notebook: screen/4d8Kpo5ZbbfZUBb Fixes #< 482120359 > 🦕
1 parent 3cb57b1 commit 4e2689a

1 file changed

Lines changed: 23 additions & 19 deletions

File tree

bigframes/display/anywidget.py

Lines changed: 23 additions & 19 deletions

0 commit comments

Comments
 (0)