Description Usage Arguments Value
Create contour plot of a density
1 2 3 4 5 6 7 8 9 | plt.surface(
fun = donut,
grid_size = 3,
N_grid = 100,
color_low = "gray95",
color_high = "gray50",
title = NULL,
font_size = 10
)
|
fun |
function that evaluates (unnormalized) log density |
N_grid |
number of grid points |
color_low |
color scale lowest value color |
color_high |
color scale highest value color |
title |
plot title |
font_size |
title font size |
grid |
grid bouds |
a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.