We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f16997e commit a6b294eCopy full SHA for a6b294e
google/colab/_quickchart_hint_button.py
@@ -248,8 +248,10 @@ def register_df_and_get_html(df):
248
(() => {{
249
let quickchartButtonEl =
250
document.querySelector('#{df_key} button');
251
+ // Check if the suggest_plots experiment flag is enabled in the frontend.
252
+ const suggestPlotsEnabled = window.colabExperiments && window.colabExperiments.suggest_plots;
253
quickchartButtonEl.style.display =
- google.colab.kernel.accessAllowed ? 'block' : 'none';
254
+ google.colab.kernel.accessAllowed && suggestPlotsEnabled ? 'block' : 'none';
255
}})();
256
</script>
257
</div>""")
0 commit comments