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
Application Hangs at page.on_event_async When Using flet.PlotlyChart on Windows 11 (Intel i3 13th Gen) but works on other PC like i7 9th gen windows11
#4544
I have searched the opened issues and there are no duplicates
Describe the bug
I'm experiencing an issue where my Flet application hangs at the page.on_event_async event handler when using the flet.PlotlyChart component. This problem occurs specifically on Windows 11 PCs with Intel i3 13th , 12th Gen Gen processors. The same code runs smoothly on other machines, including a Windows 10 laptop and a different Windows 11 PC with different hardware. also work on virtual machine.
Code sample
Code
importplotly.graph_objectsasgoimportfletasftfromflet.plotly_chartimportPlotlyChartdefmain(page: ft.Page):
x= ['day 1', 'day 1', 'day 1', 'day 1', 'day 1', 'day 1',
'day 2', 'day 2', 'day 2', 'day 2', 'day 2', 'day 2']
fig=go.Figure()
fig.add_trace(go.Box(
y=[0.2, 0.2, 0.6, 1.0, 0.5, 0.4, 0.2, 0.7, 0.9, 0.1, 0.5, 0.3],
x=x,
name='kale',
marker_color='#3D9970'
))
fig.add_trace(go.Box(
y=[0.6, 0.7, 0.3, 0.6, 0.0, 0.5, 0.7, 0.9, 0.5, 0.8, 0.7, 0.2],
x=x,
name='radishes',
marker_color='#FF4136'
))
fig.add_trace(go.Box(
y=[0.1, 0.3, 0.1, 0.9, 0.6, 0.6, 0.9, 1.0, 0.3, 0.6, 0.8, 0.5],
x=x,
name='carrots',
marker_color='#FF851B'
))
fig.update_layout(
yaxis_title='normalized moisture',
boxmode='group'# group together boxes of the different traces for each value of x
)
page.add(PlotlyChart(fig, expand=True))
importlogginglogging.basicConfig(level=logging.DEBUG)
ft.app(main)
To reproduce
Just run the code
Expected behavior
No response
Screenshots / Videos
Captures
Operating System
Windows
Operating system details
Windows11
Flet version
v0.25.1
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:
Duplicate Check
Describe the bug
I'm experiencing an issue where my Flet application hangs at the page.on_event_async event handler when using the flet.PlotlyChart component. This problem occurs specifically on Windows 11 PCs with Intel i3 13th , 12th Gen Gen processors. The same code runs smoothly on other machines, including a Windows 10 laptop and a different Windows 11 PC with different hardware. also work on virtual machine.
Code sample
Code
To reproduce
Just run the code
Expected behavior
No response
Screenshots / Videos
Captures
Operating System
Windows
Operating system details
Windows11
Flet version
v0.25.1
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: