Skip to content

Commit

Permalink
fix DashboardPanelTestSuite
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaAmega committed Dec 18, 2024
1 parent fc7cf38 commit 387006f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/evidently/ui/dashboards/test_suites.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ def _create_aggregate_fig(self, points: TestResultPoints):
layout={"showlegend": True},
)
fig.update_layout(barmode="stack")
fig.update_xaxes(type="category")
return fig

def _create_detailed_fig(self, points: TestResultPoints):
Expand Down Expand Up @@ -185,6 +186,7 @@ def get_color(test, date) -> Optional[str]:
barnorm="fraction",
)
fig.update_yaxes(showticklabels=False)
fig.update_xaxes(type="category")
return fig


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ const BigGraphWidgetContent: React.FunctionComponent<BigGraphWidgetProps> = (pro
},
// text: [],
// textposition: 'top center',
name: `selected point <br>${clickEvent.points[0].x}: ${roundPoint2Digit(clickEvent.points[0].y)}`
name: `selected point <br>${clickEvent.points[0].x}: ${roundPoint2Digit(clickEvent.points[0].y)}`,
hoverinfo: 'skip'
} satisfies Plotly.Data
]
: []
Expand Down

0 comments on commit 387006f

Please sign in to comment.