You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a pre and post parser hook to the interactive parser (#46)
* add an optional pre and post parser hook and and add_parser_arg hook
* update arrivial plotting
* fix font size and add pre/post/add_parser_args tests
* fix type conversion error
* cleanup testing error
* more scale factor cleanup
* fix more numpy min max type errors
* fix min max type casting
* revert changes
* alternative min max calls for dumps
* prevent agressive numpy data type casting
* more numpy1-numpy2 min/max fixes
* add a diagnostic print
* fix ambiguous 1d/2d/3d dump parsing
---------
Co-authored-by: Cleveland <[email protected]>
Copy file name to clipboardexpand all lines: opppy/plotting_help.py
+2
Original file line number
Diff line number
Diff line change
@@ -276,6 +276,7 @@ def add_plot_options(parser):
276
276
parser.add_argument('-lpo','--last_point_only', dest='last_point_only', help='only plot the last data point', nargs='?', type=bool, default=False, const=True )
277
277
parser.add_argument('-ltv','--last_time_value', dest='last_time_value', help='only plot the last time value', nargs=1, type=float)
278
278
parser.add_argument('-fr','--figure_resolution', dest='figure_resolution', help='figure resolution in dpi', nargs='?', type=float, default=300.0)
279
+
parser.add_argument('-fs','--font_size', dest='font_size', help='set the plot font size', type=float, default=None, nargs="?")
0 commit comments