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.