[Yt-svn] [yt] #274: plot collection does not reset colorbar's colormap if set_zim is called before set_cmap
yt
hg at enzotools.org
Wed Oct 20 14:35:37 PDT 2010
#274: plot collection does not reset colorbar's colormap if set_zim is called
before set_cmap
---------------------------+------------------------------------------------
Reporter: joishi | Owner: jsoishi
Type: defect | Status: new
Priority: minor | Milestone: 2.0
Component: visualization | Version: 2.0
Keywords: |
---------------------------+------------------------------------------------
if a plot collection has a slice, doing
{{{
pc.add_slice('Density',2,center=[0.5,0.5,0.5])
pc.set_width(1,'unitary')
pc.set_cmap('BrBG')
pc.set_zlim(0.1,500)
pc.save()
}}}
works fine, but switching the order of pc.set_cmap and pc.set_zlim results
in the image having the proper colormap but the colorbar having the old
colormap.
--
Ticket URL: <http://yt.enzotools.org/ticket/274>
yt <http://yt.enzotools.org/>
AMR (enzo-specific) data analysis tool
More information about the yt-svn
mailing list