
Hello, I hope whoever reading this is doing well.
I am trying to make a 1D profile plot with a custom y label, however I am getting the error: AttributeError: 'ProfilePlot' object has no attribute 'set_ylabel' and I am confused. This is also the case when I try to set a xlabel. I am creating multiple profiles from 2 datasets by appending them to a list as is shown in the yt cookbook, I'm not sure if this would cause an error.
Thank you

Hi, If 'ProfilePlot' object has no attribute 'set_ylabel', I suggest you define a custom field with the field name as ylabel name you want. Cheers, Nirmit Sakre Hokkaido University.
On Tue, Apr 20, 2021 at 6:07 PM Edward Buie II ebuieii@asu.edu wrote:
Hello, I hope whoever reading this is doing well.
I am trying to make a 1D profile plot with a custom y label, however I am getting the error: AttributeError: 'ProfilePlot' object has no attribute 'set_ylabel' and I am confused. This is also the case when I try to set a xlabel. I am creating multiple profiles from 2 datasets by appending them to a list as is shown in the yt cookbook, I'm not sure if this would cause an error.
Thank you
Edward N. Buie II (he/him), *Ph.D. Candidate* Astrophysics School of Earth and Space Exploration (SESE) Arizona State University _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org https://mail.python.org/mailman3/lists/yt-users.python.org/ Member address: nirmitsakre@gmail.com
participants (2)
-
Edward Buie II
-
nirmit sakre