astropy / astroplan

Observation planning package for astronomers – maintainer @bmorris3
https://astroplan.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
199 stars 109 forks source link

Fix some warnings in test #594

Open vandalt opened 1 month ago

vandalt commented 1 month ago

This fixes two warnings I saw when running tests:

  1. Deprecation warning for ax.plot_date: fixed by using ax.plot with datetime64 instead
  2. Warnings about non-rotation transforms when calculating Sun and Moon separations. Fixed by adding origin_mismach="ignore" to those two calculations. There is already a comment about this before both instances and removing the warning avoids end users seeing it and wondering if something is wrong with how they specified coordinates.