Skip to content

Commit

Permalink
Merge pull request #2727 from codingS3b/short_visualizer_import
Browse files Browse the repository at this point in the history
Shorter python imports for postprocessing tools
  • Loading branch information
ax3l authored Oct 15, 2018
2 parents 8ed9645 + a7662fe commit 36eabde
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/python/picongpu/plugins/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from .energy_histogram import EnergyHistogram
from .phase_space import PhaseSpace
from .png import PNG


__all__ = ["EnergyHistogram",
"PhaseSpace",
"PNG"]
9 changes: 9 additions & 0 deletions lib/python/picongpu/plugins/plot_mpl/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from .energy_histogram_visualizer import Visualizer as \
EnergyHistogramMPL
from .phase_space_visualizer import Visualizer as PhaseSpaceMPL
from .png_visualizer import Visualizer as PNGMPL


__all__ = ["EnergyHistogramMPL",
"PhaseSpaceMPL",
"PNGMPL"]

0 comments on commit 36eabde

Please sign in to comment.