[yt-svn] commit/yt: jwise77: Adding log to the column density colorbar label.
Bitbucket
commits-noreply at bitbucket.org
Mon Dec 12 06:56:41 PST 2011
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/changeset/290caa86b8fb/
changeset: 290caa86b8fb
branch: yt
user: jwise77
date: 2011-12-12 15:54:59
summary: Adding log to the column density colorbar label.
affected #: 1 file
diff -r 40ea2908895ff6b9dd0dbbddd6e8da0346273886 -r 290caa86b8fb27dd7c526239f93ee236041ea730 yt/visualization/volume_rendering/camera.py
--- a/yt/visualization/volume_rendering/camera.py
+++ b/yt/visualization/volume_rendering/camera.py
@@ -703,7 +703,7 @@
ax = fig.add_subplot(1,1,1,projection='mollweide')
implot = ax.imshow(img, extent=(-pi,pi,-pi/2,pi/2), clip_on=False, aspect=0.5)
cb = fig.colorbar(implot, orientation='horizontal')
- cb.set_label(r"$\mathrm{Column}\/\mathrm{Density}\/[\mathrm{g}/\mathrm{cm}^2]$")
+ cb.set_label(r"$\mathrm{log}\/\mathrm{Column}\/\mathrm{Density}\/[\mathrm{g}/\mathrm{cm}^2]$")
ax.xaxis.set_ticks(())
ax.yaxis.set_ticks(())
canvas = matplotlib.backends.backend_agg.FigureCanvasAgg(fig)
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list