You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
here's a minimal reproducer for the broken part of the notebook:
importytds=yt.load("grs-50-cube.fits.gz")
prj=yt.ProjectionPlot(
ds, "z", ("fits", "temperature"), origin="native", weight_field=("index", "ones")
) # "ones" weights each cell by 1prj.set_log(("fits", "temperature"), True)
prj.save("/tmp/")
The reason why this crashes is that we're forcing a log norm but the data contains strictly negative values, as can be seen by leaving the default scaling:
At least one of the notebooks that uses it in the docs is currently broken for a different reason:
https://yt-project.org/docs/dev/cookbook/fits_radio_cubes.html?highlight=fits%20radio
Originally posted by @neutrinoceros in #4235 (comment)
The text was updated successfully, but these errors were encountered: