Add a custom 'line' parameter to plot points.

This commit is contained in:
Lucas Verney 2016-03-09 10:56:19 +01:00
parent e0ed43ca9e
commit 33f381dd3e
2 changed files with 817 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -688,6 +688,12 @@ def _handle_custom_plot_arguments(kwargs):
"'%s' is a reserved group name." % (_DEFAULT_GROUP,)) "'%s' is a reserved group name." % (_DEFAULT_GROUP,))
custom_kwargs["group"] = kwargs["group"] custom_kwargs["group"] = kwargs["group"]
del kwargs["group"] del kwargs["group"]
# Handle "line" argument
if "line" in kwargs:
if not kwargs["line"]:
kwargs["linestyle"] = "None"
kwargs["marker"] = "x"
del kwargs["line"]
return (kwargs, custom_kwargs) return (kwargs, custom_kwargs)