MNGuenther / allesfitter

allesfitter is a convenient wrapper around the packages ellc (light curve and RV models), dynesty (static and dynamic nested sampling) emcee (Markov Chain Monte Carlo sampling) and celerite (Gaussian Process models).
MIT License
60 stars 36 forks source link

Overlapping x-axis values labels in ttvs plots #45

Closed martindevora closed 2 years ago

martindevora commented 2 years ago

Hi, I'm noticing that in the ttvs preparation stage the plots are overlapping the time values when they are long sometimes. See example in picture. image

Also, when we get the initial guess for the ttvs run, its plots are also overlapping: image

And finally for the final ns_fit plots, the same happening: image

I'd be great if the size of the font of the x-axis grid values was reduced so they don't overlap.

Kind regards.

MNGuenther commented 2 years ago

Thanks @martindevora! This is a matplotlib issue, which should be smart enough to handle this automatically. We will see what we can do from our end. Possibly, we will force the scientific notation / offset manually and reduce the number of ticks manually.

MNGuenther commented 2 years ago

Hi @martindevora did you have any other re-occuring problems with this? I could not reproduce this so far. Generally, matplotlib should take care of this itself. I will close the issue for now. But if it reappears for you, please drop me an email at maximilian.guenther at esa dot int with a Dropbox link (or the like) to all the files and I will try to reproduce it.