Jibran Khan
Jibran Khan

Reputation: 1

Healpy Mollview function returned nothing

I am a new healpy user. I used healpy tutorial available at page http://healpy.readthedocs.org/en/latest/tutorial.html for creating a map but after execution of "healpy.mollview" command it returned nothing and no plot was visible. Need Help!

I have searched the problem already but unable to find the exact situation anywhere

Thanks,

Jibran

Upvotes: 0

Views: 439

Answers (2)

dPol
dPol

Reputation: 475

You have to show the plot

import matplotlib.pyplot as plt
plt.show()

as you would do for any plot in matplotlib

Upvotes: 0

Andrea Zonca
Andrea Zonca

Reputation: 8773

For using healpy plotting functions, the best is to use ipython, in particular:

ipython --pylab

Upvotes: 1

Related Questions