Commit graph

117 commits

Author SHA1 Message Date
Paul Romano
66ef28a385 Remove convert_exec arguments, update documentation 2021-10-06 11:51:38 -05:00
Paul Romano
613d6e3ba2 Fix docstring for Plot.to_ipython_image 2021-10-06 07:16:21 -05:00
Paul Romano
d8043b6098 Support png files in plot_inline and Plot.to_ipython_image 2021-10-04 15:48:45 -05:00
Jonathan
2453b04b62 corrected multiline f strings 2021-07-31 22:33:45 +01:00
Jonathan Shimwell
192f4436a0 replaced .format with f string 2021-07-29 18:25:37 +01:00
Patrick Shriwise
a4fcf9a210
Merge pull request #1588 from paulromano/py38-attribute-order
Fix failing tests for Python 3.8
2020-06-19 08:08:42 -05:00
Paul Romano
16d7ec0641 Sort XML attributes to preserve pre-Python 3.8 XML writing behavior 2020-06-17 22:08:09 -05:00
Paul Romano
d999ce3767 Fix uses of is / == 2020-06-16 22:32:40 -05:00
Paul Romano
4943ae9307 Alphabetize import ordering (and use relative imports in a few places) 2020-04-06 15:16:09 -05:00
Paul Romano
d58f8a2da2 Changes in plots.py/plotter.py from PullRequest Inc. review 2020-04-01 14:13:05 -05:00
Paul Romano
e34a71b448 Remove unused imports across entire Python API 2020-03-31 18:11:31 -05:00
PullRequestOpen
6d0aa86cef Cosmetic fixes from PullRequest [2019-12-05] 2019-12-05 22:22:43 -06:00
Paul Romano
c18f845712 Fix broken links in documentation 2019-10-04 09:33:20 -05:00
Patrick Shriwise
4256e031c3 Applying internal color check to meshlines. 2019-06-14 11:55:25 -05:00
Patrick Shriwise
36b4fbad12 Adding check color function to replace duplicate code. 2019-06-14 11:15:16 -05:00
Patrick Shriwise
2d4c9934b7 Small change in spacing. 2019-06-14 11:15:16 -05:00
Patrick Shriwise
42ff5a4c85 Adding show_overlaps and overlap_color to Python API. 2019-06-14 11:15:16 -05:00
Sterling Harper
6a22a246d8 Merge remote-tracking branch 'upstream/develop' into rect_mesh 2019-06-07 09:29:13 -04:00
Sterling Harper
9ddd8b3067 Change Python Mesh class to RegularMesh 2019-06-07 08:51:09 -04:00
Paul Romano
2a2b7e9b3c Fix bug in Plot.__repr__ 2019-05-07 07:00:12 -05:00
Paul Romano
17d778e57f Allow export_to_xml methods to take a directory 2019-03-12 11:42:51 -05:00
Paul Romano
fbf7713a33 Split up Geometry.from_xml, rename clean_xml -> _xml 2018-08-21 07:47:29 -05:00
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