MAIF / shapash

🔅 Shapash: User-friendly Explainability and Interpretability to Develop Reliable and Transparent Machine Learning Models
https://maif.github.io/shapash/
Apache License 2.0
2.73k stars 334 forks source link

Title Height Adjustment Not Working in Feature Importance Plot - Overlaps Still Occur #606

Closed guillaume-vignal closed 1 week ago

guillaume-vignal commented 1 week ago

Description:
The recent fix aimed at resolving the title height overlap issue in feature importance plots has not fully addressed the problem. Despite the attempted adjustment using "yref": "paper", the title positioning still overlaps with the plot when custom figure heights are specified.

Problem Details:

Expected Behavior:

The title should adjust its position based on the figure’s custom height to ensure it remains clearly visible above the plot.

Actual Behavior:

The title continues to overlap with the plot, even after implementing "yref": "paper" in the title’s settings.


Potential Solution:
Consider further adjustments to dynamically set the title’s vertical position based on the figure height, or investigate alternative positioning methods in Plotly to ensure reliable positioning across various plot sizes.


This issue requires further investigation to ensure the title aligns properly regardless of custom figure height settings.