Add a custom 'line' parameter to plot points.
This commit is contained in:
parent
e0ed43ca9e
commit
33f381dd3e
819
Examples.ipynb
819
Examples.ipynb
File diff suppressed because one or more lines are too long
@ -688,6 +688,12 @@ def _handle_custom_plot_arguments(kwargs):
|
||||
"'%s' is a reserved group name." % (_DEFAULT_GROUP,))
|
||||
custom_kwargs["group"] = 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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user