Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 587070596
Change-Id: I839131f84caf795ee8e21274759c98ff9a44bf60
  • Loading branch information
gPS Team authored and copybara-github committed Dec 1, 2023
1 parent abda801 commit 1be8b1f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/simple_end_to_end_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@
}
],
"source": [
"correlations[0].style.background_gradient(cmap='RdBu', vmin=-1, vmax=1).set_precision(3)"
"correlations[0].style.background_gradient(cmap='RdBu', vmin=-1, vmax=1).format(precision=3)"
]
},
{
Expand Down Expand Up @@ -476,7 +476,7 @@
" style = f'font-weight: {weight}; color: {color}'\n",
" return style\n",
"\n",
"variances.style.set_precision(4).applymap(highlight_variances)\n"
"variances.style.format(precision=4).applymap(highlight_variances)\n"
]
},
{
Expand Down Expand Up @@ -554,7 +554,7 @@
" style = f'font-weight: {weight}; color: {color}'\n",
" return style\n",
"\n",
"spend_fractions.style.set_precision(4).applymap(highlight_low_spend_fractions)\n"
"spend_fractions.style.format(precision=4).applymap(highlight_low_spend_fractions)\n"
]
},
{
Expand Down Expand Up @@ -636,7 +636,7 @@
" style = f'font-weight: {weight}; color: {color}'\n",
" return style\n",
"\n",
"variance_inflation_factors.style.set_precision(4).applymap(highlight_high_vif_values)\n"
"variance_inflation_factors.style.format(precision=4).applymap(highlight_high_vif_values)\n"
]
},
{
Expand Down

0 comments on commit 1be8b1f

Please sign in to comment.