Spaces:
Runtime error
Runtime error
update height for plot
Browse files
app.py
CHANGED
@@ -103,9 +103,9 @@ def bokehplots():
|
|
103 |
return p
|
104 |
|
105 |
|
106 |
-
with gr.Blocks() as demo:
|
107 |
with gr.Row():
|
108 |
-
plot = gr.Plot()
|
109 |
out_dataframe = gr.Dataframe(wrap=True, max_rows=10, overflow_row_behaviour= "paginate", datatype = ["str", "number", "number"], interactive=False)
|
110 |
demo.load(bokehplots, outputs=[plot])
|
111 |
demo.load(fn=display_df, outputs=[out_dataframe])
|
|
|
103 |
return p
|
104 |
|
105 |
|
106 |
+
with gr.Blocks(css = '#myplot {height: 700;}') as demo:
|
107 |
with gr.Row():
|
108 |
+
plot = gr.Plot(elem_id='myplot')
|
109 |
out_dataframe = gr.Dataframe(wrap=True, max_rows=10, overflow_row_behaviour= "paginate", datatype = ["str", "number", "number"], interactive=False)
|
110 |
demo.load(bokehplots, outputs=[plot])
|
111 |
demo.load(fn=display_df, outputs=[out_dataframe])
|