You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the opened issues and there are no duplicates
Describe the bug
there is my code
import threading
import numpy as np
import plotly.express as px
import matplotlib
import matplotlib.pyplot as plt
import flet as ft
from flet.matplotlib_chart import MatplotlibChart
from flet.plotly_chart import PlotlyChart
matplotlib.use("svg")
when I use ply_fig,the page is OK, but the plotly_fig will let all disappear
Code sample
Code
[Pasteyourcodehere]
import threading
import numpy as np
import plotly.express as px
import matplotlib
import matplotlib.pyplot as plt
import flet as ft
from flet.matplotlib_chart import MatplotlibChart
from flet.plotly_chart import PlotlyChart
matplotlib.use("svg")
So, to be clear the second image is what you get when you take the above code (which should really be re-formatted by the way) and simply change the PlotlyChart visible property to True?
If that is the issue then it is not reporducible on macOS.
Duplicate Check
Describe the bug
there is my code
import threading
import numpy as np
import plotly.express as px
import matplotlib
import matplotlib.pyplot as plt
import flet as ft
from flet.matplotlib_chart import MatplotlibChart
from flet.plotly_chart import PlotlyChart
matplotlib.use("svg")
def main(page: ft.Page):
ft.app(main)
when I use ply_fig,the page is OK, but the plotly_fig will let all disappear
Code sample
Code
import numpy as np
import plotly.express as px
import matplotlib
import matplotlib.pyplot as plt
import flet as ft
from flet.matplotlib_chart import MatplotlibChart
from flet.plotly_chart import PlotlyChart
matplotlib.use("svg")
def main(page: ft.Page):
ft.app(main)
To reproduce
Nothing
Expected behavior
No response
Screenshots / Videos
Captures
[Upload media here]
Operating System
macOS
Operating system details
window 11
Flet version
V0.24
Regression
No, it isn't
Suggestions
No response
Logs
Logs
[Paste your logs here]
Additional details
No response
The text was updated successfully, but these errors were encountered: