Skip to content

Commit

Permalink
Improving documentation on the return array of openmc.lib.id_map (#2630)
Browse files Browse the repository at this point in the history
  • Loading branch information
pshriwise committed Aug 5, 2023
1 parent 557880a commit f9c17dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openmc/lib/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit f9c17dd

Please sign in to comment.