Commit graph

15994 commits

Author SHA1 Message Date
Gavin Ridley
6440153c74 pass 0-1 RGB value to matplotlib in universe plot legend 2023-04-21 16:41:49 -04:00
Gavin Ridley
abfe5ebf99 warning rather than error for weird file name passing to mcpl 2023-04-21 16:09:49 -04:00
Paul Romano
fffdedf5d2
Merge pull request #2455 from stchaker/fix_mac_segfault
avoid python C API segfault on intel mac
2023-04-21 10:55:41 -05:00
Jonathan Shimwell
3ad8781444 Merge branch 'develop' into adding_bounding_box_class 2023-04-21 14:46:52 +01:00
Jonathan Shimwell
7257b2f7fe
Merge pull request #28 from paulromano/adding_bounding_box_class
Refactor BoundingBox implementation
2023-04-21 07:23:57 +01:00
Jonathan Shimwell
63603dbabd
Merge branch 'develop' into moving_voxel_plot_code 2023-04-20 18:19:28 +01:00
stchaker
5713ef700c update mac segfault fix format, fix python settings name 2023-04-20 12:21:10 -04:00
Paul Romano
82ccbe0738
Merge pull request #2482 from shimwell/adding_outlines_to_plot
adding optional outline to plots
2023-04-20 06:21:32 -05: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
Paul Romano
5c5c1c83e4
Merge pull request #2470 from youngwki/typehint_geometry_return
Added return types for Geometry class
2023-04-19 20:51:22 -05:00
Christina Cai
bdd34fc64d added deepcopy back in geometry.py 2023-04-19 14:21:12 -04: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
90e7e1d3f0 added outline to plot testing 2023-04-19 12:22:46 +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
b827a31e61
Merge pull request #2483 from shimwell/adding_axis_labels_to_plot
added plot axis labels
2023-04-18 22:37:31 -05:00
Paul Romano
b5d30ff553 Refactor BoundingBox implementation 2023-04-18 22:26:37 -05:00
Paul Romano
72509b90cf
Merge pull request #2471 from youngwki/typehint_material_return
Added return types for Material class
2023-04-18 20:35:37 -05:00
Paul Romano
2de88f4de2
Merge pull request #2468 from youngwki/typehint_model
Added return types for Model class
2023-04-18 20:35:25 -05:00
Paul Romano
e0abe73182
Merge pull request #2467 from youngwki/typehint
Added type hinting for weight_windows.py
2023-04-18 20:35:08 -05:00
Gavin Ridley
c22448061a warn when passing incorrect file extension to source point write 2023-04-18 17:27:16 -04:00
Gavin Ridley
2ff6c0408e
remove unnecessary comment
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-18 17:24:36 -04:00
Christina Cai
92e2a9e3b7 Merge branch 'typehint_material_return' of https://github.com/youngwki/openmc into typehint_material_return 2023-04-18 13:51:50 -04:00
Christina Cai
dd9f03abd2 trivial change for CI 2023-04-18 13:49:36 -04:00
christinacai123
293f02d991
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-18 13:46:57 -04:00
christinacai123
0280631fe7
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-18 13:46:33 -04:00
christinacai123
f8abaf687a
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-18 13:45:51 -04: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
Paul Romano
1afe4294fa
Merge pull request #2479 from pshriwise/improve-trigger-msg
Provide alternative batch estimation message
2023-04-18 06:27:47 -05:00
Patrick Shriwise
f08510119c Applying code formatter 2023-04-18 00:38:33 -05: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
de695f4b63 Merge branch 'develop' into adding_outlines_to_plot 2023-04-17 16:37:33 +01:00
John Tramm
2b23b7366a
Merge pull request #2481 from paulromano/vectfit-ci-fix
Install vectfit in CI without build isolation
2023-04-17 10:34:59 -05:00
Paul Romano
339b4600ea
Merge pull request #2434 from pshriwise/dagmc-lp-test
Additional DAGMC test for lost particles
2023-04-17 09:41:27 -05:00
Jonathan Shimwell
95a07b8085 adding optional outline to plots 2023-04-17 15:13:56 +01:00
Paul Romano
36a54c896a Install wheel for vectfit 2023-04-17 06:59:40 -05:00
Paul Romano
5ba3569b3a Install vectfit in CI with no-build-isolation 2023-04-17 06:37:39 -05:00
Gavin Ridley
b52e1f106c
const int by value is pointless
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-15 22:35:14 -04:00
Gavin Ridley
355b6f4e88
const int by value is kinda pointless
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-15 22:34:45 -04:00
Gavin Ridley
30e2bfb2f9 warn people rather than fatal error if specifying a weird file extension 2023-04-15 22:31:53 -04:00