Commit graph

116 commits

Author SHA1 Message Date
Jonathan Shimwell
7256d5046a
extra checks for pixels (#4009)
Some checks are pending
Tests and Coverage / filter-changes (push) Waiting to run
Tests and Coverage / Python 3.13 (omp=n, mpi=n, dagmc=, libmesh=, event= (push) Blocked by required conditions
Tests and Coverage / Python 3.14 (omp=n, mpi=n, dagmc=, libmesh=, event= (push) Blocked by required conditions
Tests and Coverage / Python 3.14t (omp=n, mpi=n, dagmc=, libmesh=, event= (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=n, mpi=n, dagmc=n, libmesh=n, event=n (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=n, dagmc=n, libmesh=n, event=n (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=n, mpi=y, dagmc=n, libmesh=n, event=n (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=y, dagmc=n, libmesh=n, event=n (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=n, dagmc=, libmesh=y, event= (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=n, dagmc=, libmesh=, event=y (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=y, dagmc=y, libmesh=, event= (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=y, dagmc=, libmesh=y, event= (push) Blocked by required conditions
Tests and Coverage / coverage (push) Blocked by required conditions
Tests and Coverage / Check CI status (push) Blocked by required conditions
dockerhub-publish-develop / main (push) Waiting to run
dockerhub-publish-develop-dagmc-libmesh / main (push) Waiting to run
dockerhub-publish-develop-dagmc / main (push) Waiting to run
dockerhub-publish-develop-libmesh / main (push) Waiting to run
Co-authored-by: Jonathan Shimwell <jon@proximafusion.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2026-07-10 15:02:14 +00:00
CoronelBuendia
387b41ab65
Change plotting docstring to specify integer RGB values (#3868) 2026-03-12 12:35:10 -05:00
Jonathan Shimwell
e0eb91b955
using id_map in model.plot for more efficient plotting (#3678) 2025-12-17 22:44:53 +02:00
Boris Polania
9b675adda5
Introduce SlicePlot and VoxelPlot to replace the Plot class (#3528)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-12-05 20:17:09 +00:00
Makarand More
a74c1424a8
Update check_type calls to accept both str and os.PathLike objects. (#3618)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-10-28 14:50:11 +00:00
Paul Romano
007ac8148b
Allow newer Sphinx version and fix docbuild warnings (#3571) 2025-09-19 07:27:41 +03:00
GuySten
a11021cd07
Consistent XML parsing using functions from _xml module (#3517)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-08-08 17:47:55 +00:00
GuySten
4500f07b44
Remove reorder_attributes from openmc._xml (#3519) 2025-08-08 16:59:22 +07:00
Patrick Shriwise
6372c29cfa
Provide a way to get ID maps from plot parameters on the Model class (#3481)
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-07-16 08:31:49 -05:00
Paul Romano
39ad29d82e
Fix reading of horizontal field of view for ray-traced plots (#3330)
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2025-02-28 19:50:35 +00:00
Patrick Shriwise
6ae2001400
Enable overlap plotting from Python API (#3310)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-02-21 20:58:37 +00:00
Gavin Ridley
81b7388624
Raytrace plots (#2655)
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-02-18 03:11:54 +00:00
Paul Romano
59c398be84
Consolidate plotting capabilities in Model.plot (#3282)
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2025-01-31 10:12:24 -06:00
Joshua Einstein-Curtis
bd874f1b3e
Update plots.py for PathLike to string handling error (#3261)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-01-16 09:38:19 -06:00
John Vincent Cauilan
4c0e08bae8
Replace all deprecated Python typing imports and syntax with updated forms (#3085)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-07-18 17:40:42 +00:00
Jonathan Shimwell
84f561c1ed
sets used instead of lists when membership testing (#3021) 2024-06-19 14:48:34 +00:00
Gavin Ridley
3e16c038fe
only add png or h5 extension if not present in plots.py (#3036)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-06-12 22:33:55 +00:00
Jonathan Shimwell
5d2b352025
f strings instead of .format for string editing (#2987) 2024-04-29 16:45:37 -05:00
Paul Romano
9fee6534b6
Prepare for NumPy 2.0 (#2845) 2024-03-26 12:00:06 -04:00
yrrepy
63916067ee
Use huge_tree=True in lxml parsing (#2791)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-01-17 06:54:03 +00:00
Paul Romano
85c963e223
Move 'import lxml' to third-party block of imports (#2803) 2023-12-13 14:11:32 +00:00
Paul Romano
fa2330103d
Release of version 0.14.0 (#2754) 2023-11-06 14:50:16 -06:00
Paul Romano
94f02ae10b
Bump version to 0.14.0-dev (#2740) 2023-10-31 16:55:19 -05:00
Paul Romano
3152a2efad
XML read fixes in Plot classes (#2623) 2023-07-25 09:40:52 -04:00
Jonathan Shimwell
ee7b95245a
Static errors continuation (#2557)
Co-authored-by: Christina Cai <chrsitinacai48933@gmail.com>
Co-authored-by: christinacai123 <63215816+christinacai123@users.noreply.github.com>
2023-06-16 22:34:02 -05:00
Patrick Myers
1cb22075ef
Changed xml to lxml (#2489) 2023-05-09 10:41:04 -05:00
Paul Romano
45006584ca
Fix meaning of "masking" for plots (#2510) 2023-05-03 09:52:40 -05:00
Jonathan Shimwell
15890538a6
Apply suggestions from code review by @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-26 20:08:34 +01:00
Paul Romano
dbf33775a6 Name change (to_vtk), use pathlib consistently 2023-04-26 12:34:05 -05:00
Jonathan Shimwell
a0d8d1961e running plot test in tmp dir 2023-04-12 12:42:56 +01:00
Jonathan Shimwell
eef21b65ca moved voxel plot to api accessible function 2023-04-11 17:59:43 +01:00
Gavin Ridley
7fb21d7e79 add repr to projection plot 2023-04-05 12:03:03 -04:00
Gavin Ridley
5e47f9daa4 fix failing tests, remove redundant PlotTestHarness code 2023-04-04 22:11:10 -04:00
Gavin Ridley
61cab3009a PR comments addressed 2023-04-04 22:06:54 -04:00
Gavin Ridley
74fc00fc43 now passing tests again 2023-04-04 22:06:54 -04:00
Gavin Ridley
6726cc378f add unit test, select wireframing by id 2023-04-04 22:06:54 -04:00
Ethan Peterson
04806858ca update old tests to use new model.xml 2023-03-25 07:55:35 -04:00
Patrick Shriwise
b76825fa9f Addressing some comments from PR 2022-12-06 13:03:38 -06:00
Patrick Shriwise
2e716589a1 Other bug fixes 2022-12-06 13:03:38 -06:00
Patrick Shriwise
9391f17cff Adding import for single or multiple XMLs 2022-12-06 13:03:38 -06:00
Patrick Shriwise
2555b951a4 Factor out to_xml_element methods for XML classes 2022-12-06 13:03:38 -06:00
Paul Romano
004199c49d Handle possibility of .ppm file in Universe.plot 2022-10-05 09:08:02 -05:00
Paul Romano
88eb736884 Respond to @pshriwise comment on #2074 2022-05-27 06:55:55 -05:00
Paul Romano
d20064945c Read in color specification in Plot.from_xml_element 2022-05-24 07:11:37 -05:00
Paul Romano
d76434379a Make sure basis gets set in Plot.from_geometry 2022-04-29 19:25:01 -05:00
Paul Romano
a61f3f534b Fix use of cwd in plot_inline and Plot.to_ipython_image 2022-03-31 14:49:31 -05:00
Jonathan
d91676fe1b removed unused imports 2022-02-11 22:36:46 +00:00
Jonathan
04b5f4bc97 fixed minor typo in docs 2022-02-10 00:20:58 +00:00
Paul Romano
5bb4b4bbdf Implement Plots.from_xml classmethod 2022-01-20 22:28:03 -06:00
Paul Romano
66ef28a385 Remove convert_exec arguments, update documentation 2021-10-06 11:51:38 -05:00