| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent bf68d0c commit 7813eaa
8 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -361,7 +361,7 @@ def repr_mimebundle( | |||
| 361 | 361 | if opts.repr_mode == "deferred": | |
| 362 | 362 | return repr_mimebundle_deferred(obj) | |
| 363 | 363 | ||
| 364 | - if opts.repr_mode == "anywidget": | ||
| 364 | + if opts.render_mode == "anywidget" or opts.repr_mode == "anywidget": | ||
| 365 | 365 | try: | |
| 366 | 366 | with bigframes.option_context("display.progress_bar", None): | |
| 367 | 367 | with warnings.catch_warnings(): | |
@@ -380,4 +380,8 @@ def repr_mimebundle( | |||
| 380 | 380 | f"Falling back to static HTML. Error: {traceback.format_exc()}" | |
| 381 | 381 | ) | |
| 382 | 382 | ||
| 383 | - return repr_mimebundle_head(obj) | ||
| 383 | + bundle = repr_mimebundle_head(obj) | ||
| 384 | + if opts.render_mode == "plaintext": | ||
| 385 | + bundle.pop("text/html", None) | ||
| 386 | + | ||
| 387 | + return bundle | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments