Commit graph

45 commits

Author SHA1 Message Date
Paul Romano
85af75c459 Address comments on #985 2018-03-19 13:58:58 -05:00
Paul Romano
ed7edf4141 Have Universe.plot return AxesImage. Add Plot.to_image method 2018-03-15 11:02:07 -05:00
Paul Romano
d3d6dc87dc Remove a few more __future__ imports. Use collections.abc 2018-02-05 23:14:30 -05:00
Paul Romano
0aee52c5ab Remove deprecated methods 2018-02-05 23:14:30 -05:00
Paul Romano
deab4b3d33 Use empty-argument form of super() 2018-02-05 23:14:30 -05:00
Paul Romano
c428cee667 Remove __future__ and six imports 2018-02-05 23:14:30 -05:00
Paul Romano
12ce15978d Fix repr bug in plots.py 2017-12-22 21:48:45 +07:00
Paul Romano
ca009e211e Manage unique IDs via new IDManagerMixin that uses class variables 2017-06-07 20:12:51 -05:00
Paul Romano
033197a091 Sort <colors> as they are written to plots.xml 2017-03-21 06:48:21 -05:00
Paul Romano
d2c7486cfc Address @wbinventor comments on #826 2017-03-10 10:43:01 -06:00
Paul Romano
9dec183b53 Replace use of matplotlib.colors with _SVG_NAMES dictionary 2017-03-08 15:18:47 -06:00
Paul Romano
61f0138555 Add Plot.from_geometry() classmethod 2017-03-08 14:24:41 -06:00
Paul Romano
3913d55e2c Allow color names, rename Plot attributes, add openmc.plot_inline() 2017-03-08 14:24:37 -06:00
Paul Romano
7ca46e809c Make get_all_* methods consistent -- always return dict 2017-02-23 07:39:28 -06:00
Paul Romano
5a126d086e Use six.string_types instead of basestring 2016-10-06 21:55:12 -05:00
Paul Romano
fbcb15f8c5 Simplify usage of DataLibrary.register_file() 2016-09-23 06:26:33 -05:00
Paul Romano
0fcc44bedb Fix specification of material temperature. Allow XML files to be exported to
non-default paths.
2016-09-13 23:16:10 +02:00
jingang
b01a897250 make meshlines a dict as a single attribute of plot 2016-08-29 11:06:58 -04:00
jingang
6eaf6e04d0 openmc.plot can now set 'meshlines' and 'level' 2016-08-28 17:30:48 -04:00
Paul Romano
c7a0b716d2 General cleanup -- both bugs and style issues -- based on running pylint 2016-07-02 11:04:25 +07:00
Paul Romano
d9b097dbaf Make Materials, Plots, and Tallies list-like 2016-04-29 16:14:02 -05:00
Paul Romano
1e57cb8407 Respond to @wbinventor comments on #632 2016-04-26 07:08:03 -05:00
Paul Romano
50a80693b5 Rename main Python API classes to get rid of File. 2016-04-25 10:37:06 -05:00
Paul Romano
f622300b7f Various improvements/fixes to Python API. Also fix MPI F08 binding issue. 2016-04-25 08:29:36 -05:00
Paul Romano
14dc134869 Complete overhaul of Python API documentation 2016-04-14 07:22:31 -05:00
Will Boyd
7abbee6df6 Revised docstring Params -> Parameters for alpha transparency 2015-11-18 11:05:10 -05:00
Will Boyd
0c7d58457e Now using American English for gray (not grey) in alpha transparency 2015-11-18 11:04:09 -05:00
Will Boyd
1060ed37b0 Fixed merge conflict with color-schemes branch 2015-11-18 11:02:52 -05:00
Will Boyd
4d3c97f698 Made upper bound for random colors 256 per comments by @paulromano 2015-11-18 11:01:12 -05:00
Will Boyd
59f9b77333 Fixed bug in Plot.colorize() for cell plots 2015-11-17 21:21:14 -05:00
Will Boyd
0933cd7e8a Added alpha compositing routine to PlotsFile in Python API 2015-11-17 21:19:42 -05:00
Will Boyd
372d751fa6 Added alpha compositing scheme to Python API Plot class to highlight domains 2015-11-17 21:18:26 -05:00
Will Boyd
64a7cd9607 Added colorize routine to PlotsFile 2015-11-17 20:39:03 -05:00
Will Boyd
698dba369b Added colorize routine to Python API Plot class to generate random color schemes 2015-11-17 20:31:22 -05:00
Will Boyd
c2a29a607d Python API now clears xml element trees before exporting to xml 2015-10-27 17:36:24 -04:00
Will Boyd
b9a439da11 Python API now allows IDs to be greater than or equal to zer 2015-10-12 23:16:45 -04:00
Will Boyd
d0afb964b7 Removed quotations around string args in __repr__ methods 2015-08-03 21:48:45 -07:00
Will Boyd
bf15c255c3 Added double quotes around exception msgs in Python API 2015-08-03 21:32:06 -07:00
Paul Romano
06d531aa39 Add check_greater_than and check_less_than functions 2015-06-30 16:19:53 +07:00
Paul Romano
98206be1fe Use collections.Iterable rather than collections.Sequence. Unfortunately
ndarrays are not sequences.
2015-06-29 07:50:07 +07:00
Paul Romano
a7a740d08c Add check_type, check_length, and check_value functions that reduce redundancy 2015-06-29 07:50:07 +07:00
Paul Romano
5aaf9974e9 Use collections.Sequence, numbers.Real, and numbers.Integral for checking for
appropriate types. This eliminates the checkvalue module.
2015-06-29 07:50:07 +07:00
Paul Romano
528880cd45 Various PEP8 fixes. Mostly using 'is not' and 'not in'. 2015-06-15 10:51:07 +07:00
Paul Romano
c8e176a9f7 Continue adding docstrings and updating modules. 2015-06-12 22:04:56 +07:00
Paul Romano
498e07d0bf Move Python API into openmc/ directory and move Python scripts into scripts/
directory.
2015-05-31 09:26:18 +07:00
Renamed from src/utils/openmc/plots.py (Browse further)