Mercurial > repos > goeckslab > pycaret_predict
comparison pycaret_classification.py @ 15:a2aeeb754d76 draft
planemo upload for repository https://github.com/goeckslab/gleam commit bc50fef8acb44aca15d0a1746e6c0c967da5bb17
| author | goeckslab |
|---|---|
| date | Fri, 28 Nov 2025 15:46:17 +0000 |
| parents | e674b9e946fb |
| children |
comparison
equal
deleted
inserted
replaced
| 14:7d78a6afc958 | 15:a2aeeb754d76 |
|---|---|
| 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 |
