From 9df39a159e634bcda820c21542aed4bddb297c75 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Sat, 5 Aug 2023 10:26:42 -0500 Subject: [PATCH] Improving documentation on the return array of openmc.lib.id_map --- openmc/lib/plot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openmc/lib/plot.py b/openmc/lib/plot.py index d142d6cd208..9f294a42c04 100644 --- a/openmc/lib/plot.py +++ b/openmc/lib/plot.py @@ -229,7 +229,8 @@ def id_map(plot): ------- id_map : numpy.ndarray A NumPy array with shape (vertical pixels, horizontal pixels, 3) of - OpenMC property ids with dtype int32 + OpenMC property ids with dtype int32. The last dimension of the array + contains, in order, cell IDs, cell instances, and material IDs. """ img_data = np.zeros((plot.v_res, plot.h_res, 3),