Skip to content

Commit

Permalink
added new line characters to all files in Post-Processing that were m…
Browse files Browse the repository at this point in the history
…issing them
  • Loading branch information
ShaunFell committed Sep 4, 2024
1 parent 41dfbe3 commit b20d6c7
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 8 deletions.
3 changes: 2 additions & 1 deletion PostProcessing/IntegralsPlot.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,5 @@ def main():
if __name__ == "__main__":
main()
elif __visit_script_file__ == __visit_source_file__:
raise RuntimeError("This file should not be run with VisIt, only Python!")
raise RuntimeError("This file should not be run with VisIt, only Python!")

3 changes: 2 additions & 1 deletion PostProcessing/Source/Common/PlotSetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,4 +450,5 @@ def Save_Current_Window(config, variableToPlot):
#finally, save the window
status = visit.SaveWindow()

return status
return status

2 changes: 1 addition & 1 deletion PostProcessing/Source/Common/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .Engine import *
from .Utils import *
from .PlotSetup import *
from .Plotter import *
from .Plotter import *
3 changes: 2 additions & 1 deletion PostProcessing/Source/OneD/LinePlot.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,5 @@ def make_plots(config, data_obj, plot_variables, plotbounds = None, linestyles
#save all the plots in a single figure environment to disk
plt.legend()
plt.ylabel("") #remove ylabel for combined plot
save_pyplot_fig(config, "combined")
save_pyplot_fig(config, "combined")

2 changes: 1 addition & 1 deletion PostProcessing/Source/OneD/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from .LinePlot import *
from .LinePlot import *
2 changes: 1 addition & 1 deletion PostProcessing/Source/ThreeD/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from .Volume import *
from .Volume import *
2 changes: 1 addition & 1 deletion PostProcessing/Source/TwoD/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from .Slice import *
from .Slice import *
2 changes: 1 addition & 1 deletion PostProcessing/Source/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from .Common import *
from .Common import *

0 comments on commit b20d6c7

Please sign in to comment.