def add_plot_args(parser):
parser.add_argument('-d', '--data',
help="""Append a PATH to a privcount tallies.json file,
and the LABEL we should use for the graph legend for this
set of experimental results""",
metavar=("PATH", "LABEL"),
nargs=2,
required="True",
action=PlotDataAction, dest="experiments")
parser.add_argument('-p', '--prefix',
help="a STRING filename prefix for graphs we generate",
metavar="STRING",
action="store", dest="prefix",
default=None)
parser.add_argument('-f', '--format',
help="""A comma-separated LIST of color/line format strings to cycle to
matplotlib's plot command (see matplotlib.pyplot.plot)""",
metavar="LIST",
action="store", dest="lineformats",
default=LINEFORMATS)
评论列表
文章目录