yt_analysis is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

yt_analysis / yt http://yt-project.org/

yt is a python package for analyzing and visualizing astrophysical simulation output from a couple simulation platforms. Check out the homepage (there's a link just above!) where we have documentation, a cookbook, and some user community information.

Clone this repository (size: 41.0 MB): HTTPS / SSH
hg clone https://bitbucket.org/yt_analysis/yt
hg clone ssh://hg@bitbucket.org/yt_analysis/yt

Issues

#231 set_zlim non-float values

Reported by yt_analysis (last edited )

Imported Ticket

  • Summary: set_zlim non-float values
  • Component: yt
  • Milestone:
  • Reporter: sskory
  • Owner: sskory
  • Resolution: fixed
  • Status: closed
  • Created: 1259951078000000
  • Description: If the min/max values of set_zlim aren't floats, the color bar is not plotted correctly.

This doesn't work, "bad"

p.set_zlim(5,6,nticks=10)

This does. "good"

p.set_zlim(5.,6.,nticks=10)

I'd fix this myself, and I probably will, but not right now, so that's why I'm filing at ticket.

Update to Ticket

  • Author: sskory
  • Changetime: 1259951598000000
  • Field: owner
  • Oldvalue: mturk
  • Newvalue: sskory

Update to Ticket

  • Author: sskory
  • Changetime: 1259951598000000
  • Field: comment
  • Oldvalue: 1
  • Newvalue:

Update to Ticket

  • Author: sskory
  • Changetime: 1259951648000000
  • Field: comment
  • Oldvalue: 2
  • Newvalue: Oh, and this is in hg, but it's probably in other versions too.

Update to Ticket

  • Author: mturk
  • Changetime: 1283871952871593
  • Field: status
  • Oldvalue: new
  • Newvalue: closed

Update to Ticket

  • Author: mturk
  • Changetime: 1283871952871593
  • Field: resolution
  • Oldvalue:
  • Newvalue: fixed

Update to Ticket

  • Author: mturk
  • Changetime: 1283871952871593
  • Field: comment
  • Oldvalue: 3
  • Newvalue: I've cast all the arrays as float64; this leaves the possibility that when the colorbar is constructed they are still ints, but I believe that should be okay. I am marking this as fixed.
Status: resolved Responsible: nobody Type: bug Priority: major
Milestone: none Component: yt Version: none

Attachments

No attachments added for this issue yet.

Comments and changes

No comments added for this issue yet.

Add comment / attachment

Show/hide preview

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?