Spaces:
Sleeping
Sleeping
gauravlochab
commited on
Commit
·
b069ea1
1
Parent(s):
d5ee048
fix:range change
Browse files
app.py
CHANGED
@@ -1392,13 +1392,13 @@ def create_combined_roi_time_series_graph(df):
|
|
1392 |
)
|
1393 |
)
|
1394 |
|
1395 |
-
# Update y-axis with
|
1396 |
fig.update_yaxes(
|
1397 |
showgrid=True,
|
1398 |
gridwidth=1,
|
1399 |
gridcolor='rgba(0,0,0,0.1)',
|
1400 |
-
|
1401 |
-
tickformat=".
|
1402 |
tickfont=dict(size=14, family="Arial, sans-serif", color="black", weight="bold"), # Adjusted font size
|
1403 |
title=None # Remove the built-in axis title since we're using annotations
|
1404 |
)
|
|
|
1392 |
)
|
1393 |
)
|
1394 |
|
1395 |
+
# Update y-axis with autoscaling for ROI to fit the actual data range
|
1396 |
fig.update_yaxes(
|
1397 |
showgrid=True,
|
1398 |
gridwidth=1,
|
1399 |
gridcolor='rgba(0,0,0,0.1)',
|
1400 |
+
autorange=True, # Enable autoscaling to fit the actual data range
|
1401 |
+
tickformat=".1f", # Format tick labels with 1 decimal place for better precision
|
1402 |
tickfont=dict(size=14, family="Arial, sans-serif", color="black", weight="bold"), # Adjusted font size
|
1403 |
title=None # Remove the built-in axis title since we're using annotations
|
1404 |
)
|