Mercurial > repos > goeckslab > tabular_learner
comparison pycaret_classification.py @ 11:a76dfceb62e0 draft
planemo upload for repository https://github.com/goeckslab/gleam commit bc50fef8acb44aca15d0a1746e6c0c967da5bb17
| author | goeckslab |
|---|---|
| date | Fri, 28 Nov 2025 15:46:05 +0000 |
| parents | ba45bc057d70 |
| children |
comparison
equal
deleted
inserted
replaced
| 10:49f73a3c12f3 | 11:a76dfceb62e0 |
|---|---|
| 16 | 16 |
| 17 def _apply_report_layout(fig: go.Figure) -> go.Figure: | 17 def _apply_report_layout(fig: go.Figure) -> go.Figure: |
| 18 # Give the left side more space for y-axis title/ticks and let axes auto-reserve room | 18 # Give the left side more space for y-axis title/ticks and let axes auto-reserve room |
| 19 fig.update_xaxes(automargin=True, title_standoff=12) | 19 fig.update_xaxes(automargin=True, title_standoff=12) |
| 20 fig.update_yaxes(automargin=True, title_standoff=12) | 20 fig.update_yaxes(automargin=True, title_standoff=12) |
| 21 fig.update_layout( | |
| 22 plot_bgcolor="#ffffff", | |
| 23 paper_bgcolor="#ffffff", | |
| 24 ) | |
| 25 fig.update_xaxes(gridcolor="#e8e8e8") | |
| 26 fig.update_yaxes(gridcolor="#e8e8e8") | |
| 21 fig.update_layout( | 27 fig.update_layout( |
| 22 autosize=True, | 28 autosize=True, |
| 23 margin=dict(l=120, r=40, t=60, b=60), # bump 'l' if you still see clipping | 29 margin=dict(l=120, r=40, t=60, b=60), # bump 'l' if you still see clipping |
| 24 ) | 30 ) |
| 25 return fig | 31 return fig |
