diff --git a/.changeset/great-llamas-read.md b/.changeset/great-llamas-read.md new file mode 100644 index 0000000000000..7ae722565df72 --- /dev/null +++ b/.changeset/great-llamas-read.md @@ -0,0 +1,6 @@ +--- +"@gradio/nativeplot": patch +"gradio": patch +--- + +fix:Native Plot respects the height parameters diff --git a/js/nativeplot/Index.svelte b/js/nativeplot/Index.svelte index 4cc10136427f3..68e9fd604bea5 100644 --- a/js/nativeplot/Index.svelte +++ b/js/nativeplot/Index.svelte @@ -512,6 +512,7 @@ : []) ], width: chart_element.offsetWidth, + height: height ? "container" : undefined, title: title || undefined }; /* eslint-enable complexity */ @@ -561,6 +562,7 @@