hipspy / hips

Python library to handle HiPS
https://hips.readthedocs.io
12 stars 16 forks source link

Avoid creating the Axes object in each iteration #139

Closed adl1995 closed 5 years ago

adl1995 commented 5 years ago

This should fix the following warning from Matplotlib:

MatplotlibDeprecationWarning: Adding an axes using the same arguments as a previous axes currently reuses the earlier instance. In a future version, a new instance will always be created and returned. Meanwhile, this warning can be suppressed, and the future behavior ensured, by passing a unique label to each axes instance. warnings.warn(message, mplDeprecation, stacklevel=1)
coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.006%) to 95.641% when pulling 0524bc40aa587c2185df2456cd6ce7387adc94ba on patch/matplotlib-warning into b9d94f5f38ef573125dd3ed785937ce7038f575c on master.