question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DOC: Skycoord example creates big files

See original GitHub issue

While looking at the docs build time #7080, I noticed one big file (56Mb) generated by the Skycoord examples:

❯ ls -lh coordinates/skycoord-2* plot_directive/coordinates/skycoord-2.*
-rw-r--r-- 1 simon users 5,2M 24 mai   22:59 coordinates/skycoord-2.pdf
-rw-r--r-- 1 simon users  55K 24 mai   22:59 coordinates/skycoord-2.png
-rw-r--r-- 1 simon users 1,6K 24 mai   22:59 coordinates/skycoord-2.py
-rw-r--r-- 1 simon users  56M 24 mai   22:59 coordinates/skycoord-2.svg
-rw-r--r-- 1 simon users 5,2M 24 mai   22:59 plot_directive/coordinates/skycoord-2.pdf
-rw-r--r-- 1 simon users  55K 24 mai   22:57 plot_directive/coordinates/skycoord-2.png
-rw-r--r-- 1 simon users  56M 24 mai   22:58 plot_directive/coordinates/skycoord-2.svg

http://docs.astropy.org/en/latest/coordinates/skycoord.html#example-2-plotting-star-positions-in-bulge-and-disk Which creates this:

Not sure if this example is really useful ?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

5reactions
mhvkcommented, Jun 4, 2019

Wow…

2reactions
bsipoczcommented, Jun 4, 2019

https://github.com/matplotlib/matplotlib/pull/11407 is to blame, and I do have a fix, let’s hope it doesn’t break something unintended.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using the SkyCoord High-Level Class — Astropy v5.2
This is a high-level class that serves as a wrapper around the low-level coordinate frame classes like ICRS and FK5 which do most...
Read more >
SkyCoord — Astropy v5.2
Create a new SkyCoord from pixel coordinates using an WCS object. get_constellation ([short_name, …]) Determines the constellation(s) of the coordinates this ...
Read more >
Astronomical Coordinate Systems (astropy.coordinates)
SkyCoord objects are instantiated by passing in positions (and optional velocities) with specified units and a coordinate frame. Sky positions are commonly ...
Read more >
Create a very large FITS file from scratch — Astropy v5.1.1
This example demonstrates how to create a large file (larger than will fit in memory) from scratch using astropy.io.fits . By: Erik Bray....
Read more >
Example gallery — Astropy v5.2
This gallery of examples shows a variety of relatively small snippets or examples of tasks that can be done ... Create a very...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found