We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8aad50 commit bb0fbdcCopy full SHA for bb0fbdc
bokeh/plotting.py
@@ -783,7 +783,7 @@ def scatter(*args, **kwargs):
783
session_objs = [] # The list of objects that need to be added
784
785
if "type" in kwargs:
786
- print("Keyword argument 'type' of scatter(...) is deprecated; use 'marker' instead.")
+ warnings.warn("Keyword argument 'type' of scatter(...) is deprecated; use 'marker' instead.")
787
kwargs.setdefault("marker", kwargs.pop("type"))
788
789
ds = kwargs.get("source", None)
0 commit comments