Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting height of gr.LinePlot() only change the element shell #10409

Closed
1 task done
tankgit opened this issue Jan 22, 2025 · 0 comments · Fixed by #10546
Closed
1 task done

Setting height of gr.LinePlot() only change the element shell #10409

tankgit opened this issue Jan 22, 2025 · 0 comments · Fixed by #10546
Assignees
Labels
bug Something isn't working

Comments

@tankgit
Copy link

tankgit commented Jan 22, 2025

Describe the bug

Setting height of gr.LinePlot() only change the element shell, the inner canvas of plot does not change at all.

Have you searched existing issues? 🔎

  • I have searched and found no existing issues

Reproduction

import gradio as gr
import pandas as pd


data = []
i = 0
while i < 10:
    data.append({"x": i, "y": i**2})
    i += 0.1

with gr.Blocks() as app:
    gr.LinePlot(pd.DataFrame(data), x="x", y="y", height=900)

app.launch(server_name="0.0.0.0", server_port=7877)

Screenshot

Image

Logs

System Info

Gradio==5.11.0

Severity

I can work around it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants