Skip to content

Commit

Permalink
Merge pull request yt-project#4594 from meeseeksmachine/auto-backport…
Browse files Browse the repository at this point in the history
…-of-pr-4592-on-yt-4.2.x
  • Loading branch information
neutrinoceros authored Jul 23, 2023
2 parents 4390674 + 1cbfc72 commit c0cc84d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/source/cookbook/fits_xray_images.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
" field_parameters={\"exposure_time\": exposure_time},\n",
")\n",
"slc.set_log((\"fits\", \"flux\"), True)\n",
"slc.set_zlim((\"fits\", \"flux\"), 1e-5)\n",
"slc.set_log((\"gas\", \"pseudo_pressure\"), False)\n",
"slc.set_log((\"gas\", \"pseudo_entropy\"), False)\n",
"slc.set_width(250.0)\n",
Expand Down
4 changes: 2 additions & 2 deletions doc/source/examining/Loading_Generic_Particle_Data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
" [[min(ppx), max(ppx)], [min(ppy), max(ppy)], [min(ppz), max(ppz)]]\n",
")\n",
"\n",
"ds = yt.load_particles(data, length_unit=parsec, mass_unit=1e8 * Msun, bbox=bbox)"
"ds = yt.load_particles(data, length_unit=1.0 * parsec, mass_unit=1e8 * Msun, bbox=bbox)"
]
},
{
Expand Down Expand Up @@ -184,7 +184,7 @@
"}\n",
"\n",
"ds2 = yt.load_particles(\n",
" data2, length_unit=parsec, mass_unit=1e8 * Msun, n_ref=256, bbox=bbox\n",
" data2, length_unit=1.0 * parsec, mass_unit=1e8 * Msun, n_ref=256, bbox=bbox\n",
")"
]
},
Expand Down

0 comments on commit c0cc84d

Please sign in to comment.