Issue #676: set_center does not do the right thing with a three-tuple (yt_analysis/yt)
17 Oct
2013
17 Oct
'13
8:59 a.m.
New issue 676: set_center does not do the right thing with a three-tuple https://bitbucket.org/yt_analysis/yt/issue/676/set_center-does-not-do-the-ri... Matthew Turk: If I create a plot window and set the center to a 3-length tuple using set_center, it takes the first two items from the tuple and does not correctly set the center. ``` #!python p1 = ProjectionPlot(pf, "y", "Density") center = halo.center_of_mass() p1.set_center( center ) p1.show() ``` This takes items 0 and 1 from the center of mass, but it should be taking items 0 and 2.
3843
Age (days ago)
3843
Last active (days ago)
0 comments
1 participants
participants (1)
-
Matthew Turk