acecalisto3 commited on
Commit
fc0a75a
·
verified ·
1 Parent(s): 1790e82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -597,9 +597,9 @@ class IssueManager:
597
  if not filtered_counts:
598
  fig = go.Figure()
599
  fig.update_layout(title="Issue Severity Distribution", xaxis={"visible": False}, yaxis={"visible": False},
600
- annotations=[{"text": "No issues to display.", "xref": "paper", "yref": "paper", "showarrow": False, "font": {"size": 16}],
601
  plot_bgcolor='rgba(0,0,0,0)', paper_bgcolor='rgba(0,0,0,0)')
602
- return fig
603
 
604
  severities = list(filtered_counts.keys())
605
  counts = list(filtered_counts.values())
 
597
  if not filtered_counts:
598
  fig = go.Figure()
599
  fig.update_layout(title="Issue Severity Distribution", xaxis={"visible": False}, yaxis={"visible": False},
600
+ annotations=[{"text": "No issues to display.", "xref": "paper", "yref": "paper", "showarrow": False, "font": {"size": 16}}], # Removed the extra }
601
  plot_bgcolor='rgba(0,0,0,0)', paper_bgcolor='rgba(0,0,0,0)')
602
+ return fig
603
 
604
  severities = list(filtered_counts.keys())
605
  counts = list(filtered_counts.values())