Jonathan Shimwell
3e32aed2da
Fixing crash when calling Geometry.plot when DAGMCUniverse in geometry ( #3455 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-06-18 18:34:07 +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
Patrick Shriwise
f207d4220a
Adding methods to automatically apply results to existing Tally objects. ( #2671 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-01-24 22:49:58 +00:00
Baptiste Mouginot
5ad1a4aa1e
Differentiate materials in DAGMC universes ( #3056 )
...
Co-authored-by: Baptiste Mouginot <bam.git.not.reply@gmail.com>
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: azimG <azimgivron@yahoo.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-01-07 21:50:02 +00:00
Paul Romano
579777a3e5
Consistency in treatment of paths for files specified within the Model class ( #3153 )
2024-10-10 12:17:40 -05:00
Jonathan Shimwell
8b77a8dd3b
Adding source option to plot ( #2863 )
...
Co-authored-by: Jon Shimwell <jon@proximafusion.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-09-26 22:20:40 +00:00
Patrick Shriwise
25e47dea9b
Apply memoization in get_all_universes ( #2995 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-05-24 23:56:20 +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
94f02ae10b
Bump version to 0.14.0-dev ( #2740 )
2023-10-31 16:55:19 -05:00
Patrick Shriwise
bd1c2286f8
Make BoundingBox a mutable type and add convenience methods. ( #2717 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-10-17 17:51:05 +00:00
Jonathan Shimwell
eb3eec8e71
added padding arg to bounding_region ( #2701 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-09-29 15:30:46 +00:00
Paul Romano
7b0eb9d402
Avoid warning due to bounding box calculation in Universe.plot ( #2681 )
2023-09-14 05:04:25 +00:00
Jonathan Shimwell
457bea6f0b
replaced ordereddict with {} ( #2641 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-08-19 12:15:11 +00:00
Patrick Shriwise
fa245b0087
Fixing Universe.plot seed. ( #2647 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-08-19 05:51:08 +00:00
Jonathan Shimwell
0964024442
added universe plot tests to catch color=None and axis values ( #2637 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-08-19 05:20:43 +00:00
Christopher Billingham
21d88473c8
Simplify infinity check ( #2587 )
2023-07-05 08:21:36 -05:00
Jonathan Shimwell
b489023340
Option units for geometry plot ( #2575 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-06-24 18:03:56 -05: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
Jonathan Shimwell
a288e42a06
corrected pixel index for axis height ( #2553 )
2023-06-08 17:29:55 +00:00
Jonathan Shimwell
6c7f857e1e
Auto pixel calc for universe plot ( #2513 )
2023-05-23 06:28:16 -05:00
Jonathan Shimwell
d8dbd9bfca
auto width and origin for edge cases ( #2512 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-05-15 22:48:45 +00:00
Patrick Myers
1cb22075ef
Changed xml to lxml ( #2489 )
2023-05-09 10:41:04 -05:00
Jonathan Shimwell
4248beff1b
Auto origin and width for plots ( #2492 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-05-02 16:41:25 +00:00
Jonathan Shimwell
01a4acdc65
Merge pull request #2487 from gridley/legend_color_fix
...
pass 0-1 RGB value to matplotlib in universe plot legend
2023-04-27 09:35:46 +01:00
Gavin Ridley
6440153c74
pass 0-1 RGB value to matplotlib in universe plot legend
2023-04-21 16:41:49 -04:00
Jonathan Shimwell
3ad8781444
Merge branch 'develop' into adding_bounding_box_class
2023-04-21 14:46:52 +01:00
Jonathan Shimwell
cb7a443776
Merge branch 'develop' into adding_outlines_to_plot
2023-04-20 08:07:43 +01:00
Paul Romano
c808067764
Merge pull request #2472 from gridley/plot_auto_legend
...
add auto legend to universe.plot
2023-04-19 20:52:00 -05:00
Gavin Ridley
22f4fc0902
Update openmc/universe.py
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-19 12:22:39 -04:00
Gavin Ridley
2f87ce7f27
Update openmc/universe.py
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-19 12:22:29 -04:00
Jonathan Shimwell
a8e7d38555
moved plot outline test, added levels
2023-04-19 16:02:07 +01:00
Jonathan Shimwell
887cfd2e78
[skip ci] review improvment from Paul
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-19 15:59:55 +01:00
Jonathan Shimwell
2487c52d6e
working for libpng and no libpng users
2023-04-19 12:00:31 +01:00
Jonathan Shimwell
37f9bdfaca
[skip ci] improve doc string from review
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-19 08:07:41 +01:00
Paul Romano
b5d30ff553
Refactor BoundingBox implementation
2023-04-18 22:26:37 -05:00
Gavin Ridley
a02d583ac1
review comments addressed
2023-04-18 11:24:20 -04:00
Jonathan Shimwell
8606e07a67
added plot axis labels
2023-04-18 16:18:03 +01:00
Jonathan Shimwell
f1ce0913b3
remove comment
2023-04-18 15:37:07 +01:00
Jonathan Shimwell
ffaea61874
converting rgb to int
2023-04-18 15:10:49 +01:00
Gavin Ridley
ad33834e0f
default to legend label using ID if no name given
...
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2023-04-17 12:18:03 -04:00
Gavin Ridley
f65de85f9f
add versionadded for legend kwarg
...
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2023-04-17 12:17:09 -04:00
Gavin Ridley
e4c3323601
remove unnecessary error checking
...
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2023-04-17 12:15:29 -04:00
Gavin Ridley
3880d1cec8
line length suggestion
...
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2023-04-17 12:14:52 -04:00
Jonathan Shimwell
95a07b8085
adding optional outline to plots
2023-04-17 15:13:56 +01:00
Gavin Ridley
8bc434a67d
move legend outside image
...
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2023-04-14 12:36:24 -04:00
Gavin Ridley
6b03287d52
add auto legend to universe.plot
2023-04-13 16:09:07 -04:00
Jonathan Shimwell
04d9e27866
moving get_all_universes method
2023-02-16 16:24:24 +00:00
Josh May
b41c8330f1
Update openmc/universe.py
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-02-09 09:41:23 -08:00
josh
6d69c782ae
abstract _partial_deepcopy and reformat docstrings
2023-02-06 17:45:18 +00:00
josh
3d6179fa32
remove try/except for class-specific 'deepcopy'
2023-01-17 02:43:02 +00:00