CORE-GATECH-GROUP / serpent-tools

A suite of parsers designed to make interacting with SERPENT output files simple and flawless
http://serpent-tools.readthedocs.io/en/latest/
MIT License
52 stars 33 forks source link

ENH Allow HomogUniv plot to be configured with keyword arguments #424

Closed drewejohnson closed 3 years ago

drewejohnson commented 4 years ago

Is your feature request related to a problem? Please describe. The HomogUniv has a very nice plot method, but I've found it to be frustrating to configure and tweak at times. Currently, there is no way to manually add markers, colors, tweak the draw style (line, steps, dashed, etc)

Describe the solution you'd like By allowing the user to pass arguments as keyword arguments through to ax.errorbar, we can easily allow this configuration

https://github.com/CORE-GATECH-GROUP/serpent-tools/blob/ee88bf4c2e17901aba2101daba53d384313e48d2/serpentTools/objects/containers.py#L454-L455

The patch should be merged into the main branch rather than develop since there's a lot going on currently with respect to 0.10.0 and #335, #400

Describe alternatives you've considered The workaround is to extract and plot the data on your own, but we can do a little better

This is related to #417, but a smaller, more focused issue