5
$\begingroup$

An old notebook I've recently started working with has a strange error: Prior to version 8, a figure I generated using Drop[AstronomicalData["Planet"],-1] to display all of the currently recognized planets, along with some other data, worked fine, but in version 8, Neptune is missing. Is this a bug in 8, or am I missing something?

$\endgroup$
  • 2
    $\begingroup$ Sorry if this is rude, but that should not have been difficult to debug. Did you try to examine it at all before posting? $\endgroup$ – Mr.Wizard Jan 20 '12 at 19:34
  • 2
    $\begingroup$ Yes, always. I was even kind of proud for zeroing in on AstronomicalData as the likely offender (my code is pretty wooly), and even turned on "show changes" in the AstronomicalData documentation, but didn't catch it there (it's not called out). $\endgroup$ – orome Jan 20 '12 at 19:45
  • 8
    $\begingroup$ Don't feel bad, everyone (well, almost everyone) has asked a question with an answer that is obvious after the fact. It hurts the ego a little, but it is recoverable. $\endgroup$ – rcollyer Jan 20 '12 at 20:11
  • $\begingroup$ @rcollyer: I think my ego deserves a bit of crushing on this one: after all, I managed to look right at the solution without managing to realize that $-1-1=-2$. $\endgroup$ – orome Jan 21 '12 at 4:33
  • 1
    $\begingroup$ I always thought Pluto, in a fit of pique, would eventually bump Neptune right out of the solar system. It was just a matter of timing. Alignment of the planets and so forth.. $\endgroup$ – Daniel Lichtblau Oct 4 '12 at 14:13
15
$\begingroup$

AstronomicalData was updated to remove Pluto, so you don't need to anymore.

In[27]:= AstronomicalData["Planet"]

Out[27]= {"Mercury", "Venus", "Earth", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune"}
$\endgroup$
13
$\begingroup$

It's been demoted to a "dwarf planet", a splendid way of avoiding saying it's not a planet like Jupiter. From the documentation in Mathematica 8:

Sadly demoted Pluto

$\endgroup$
  • 5
    $\begingroup$ And then you can check out AstronomicalData["DwarfPlanet"]. $\endgroup$ – Brett Champion Jan 20 '12 at 20:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.