samplot icon indicating copy to clipboard operation
samplot copied to clipboard

Question regarding Samplot output labels

Open Daxton-Furniss opened this issue 1 year ago • 2 comments

Hello,

I have a problem regarding the samplot output where, seemingly, default matplotlib labels are covering the x and y axes labels for the plot. I don't see any option available to mitigate this, and my attempts to find the problem in the .py file have been unsuccessful. Any help would be appreciated! (Example image attached)

Image

Thank you.

Daxton-Furniss avatar Jan 22 '25 23:01 Daxton-Furniss

This appears reminiscent of https://github.com/ryanlayer/samplot/issues/189. Can you check your samplot and matplotlib versions? The requirements.txt file should enforce a version older than 3.7.

jbelyeu avatar Jan 23 '25 01:01 jbelyeu

Excellent, thank you! I downgraded matplotlib to 3.6.0 and re-installed samplot via the direct pip install, as described in your link, and it seems to have fixed the issue.

Daxton-Furniss avatar Jan 23 '25 07:01 Daxton-Furniss