Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have added an option to plot rz slices reflected in the z axis, so that it is easier to visualise the entire cylindrical geometry. You can turn this functionality on/off my making reflect_in_z True or False, but it defaults to False. This fixes issue #11.
I have also added to one example to demonstrate this functionality. It changes the rz ring source plot from:
to:
The only problem is that the colorbar is not resized in the reflected plot, so it is larger than the image. Does anyone know how to fix this?
There may be a better way to implement this, so feedback is appreciated!
I have run the tests and they passed but there were several warnings - were these present before? I have also checked that all the examples still run.