Skip to content

Commit

Permalink
Fixed scaleanchor warning
Browse files Browse the repository at this point in the history
  • Loading branch information
crosenth committed Apr 17, 2024
1 parent 4a0788e commit 584a5e4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dash/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -959,13 +959,11 @@ def update_graph(tax_id, xaxis, yaxis, year_value,
(len(outliers) / len(dff)),
len(dff)),
'xaxis': {
'scaleanchor': 'y' if xaxis == 'x' else None,
'title': xaxis,
'showgrid': True if xaxis == 'type_classification' else False,
'range': x_range
},
'yaxis': {
'scaleanchor': 'x' if yaxis == 'y' else None,
'title': yaxis,
'showgrid': True if yaxis == 'type_classification' else False,
'range': y_range
Expand Down

0 comments on commit 584a5e4

Please sign in to comment.