Commit 4ddb1f3a authored by Marco Selig's avatar Marco Selig

internal version changed to 0.2.1; hp_space.get_plot modified; .gitignore updated.

parent 38d0dc4d
......@@ -10,6 +10,7 @@
.git/
.svn/
.spyderproject
build
demos/*
!demos/demo_faraday.py
......
......@@ -480,7 +480,7 @@ class _about(object): ## nifty support class for global settings
"""
## version
self._version = "0.2.0"
self._version = "0.2.1"
## switches and notifications
self._errors = notification(default=True,ccode=notification._code)
......@@ -4860,8 +4860,9 @@ class hp_space(space):
x = self.enforce_shape(np.array(x,dtype=self.datatype))
if(norm=="log")and(np.min(x,axis=None,out=None)<=0):
raise ValueError(about._errors.cstring("ERROR: nonpositive value(s)."))
if(cmap is not None):
cmap.set_under(color='k',alpha=0.0) ## transparent box
if(cmap is None):
cmap = pl.cm.jet ## default
cmap.set_under(color='k',alpha=0.0) ## transparent box
hp.mollview(x,fig=None,rot=None,coord=None,unit=unit,xsize=800,title=title,nest=False,min=vmin,max=vmax,flip="astro",remove_dip=False,remove_mono=False,gal_cut=0,format="%g",format2="%g",cbar=cbar,cmap=cmap,notext=False,norm=norm,hold=False,margins=None,sub=None)
##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
......
......@@ -23,7 +23,7 @@ from distutils.core import setup
import os
setup(name="nifty",
version="0.2.0",
version="0.2.1",
description="Numerical Information Field Theory",
author="Marco Selig",
author_email="mselig@mpa-garching.mpg.de",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment