Skip to content

Commit

Permalink
Fix renderers properties' types across bokeh (#10736)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpap committed Nov 28, 2020
1 parent f7538e1 commit 6353f96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions bokeh/models/ranges.py
Expand Up @@ -44,7 +44,7 @@
from ..core.validation import error
from ..core.validation.errors import DUPLICATE_FACTORS
from ..model import Model
from .renderers import Renderer
from .renderers import DataRenderer

#-----------------------------------------------------------------------------
# Globals and constants
Expand Down Expand Up @@ -159,7 +159,7 @@ class DataRange(Range):
""")

renderers = Either(List(Instance(Renderer)), Auto, help="""
renderers = Either(List(Instance(DataRenderer)), Auto, help="""
An explicit list of renderers to autorange against. If unset,
defaults to all renderers on a plot.
""")
Expand Down
8 changes: 4 additions & 4 deletions bokeh/models/tools.py
Expand Up @@ -91,7 +91,7 @@
from .glyphs import Line, LineGlyph, MultiLine, Patches, Rect, XYGlyph
from .layouts import LayoutDOM
from .ranges import Range1d
from .renderers import GlyphRenderer, Renderer
from .renderers import DataRenderer, GlyphRenderer

#-----------------------------------------------------------------------------
# Globals and constants
Expand Down Expand Up @@ -232,7 +232,7 @@ class SelectTool(GestureTool):
""")

renderers = Either(Auto, List(Instance(Renderer)), default="auto", help="""
renderers = Either(Auto, List(Instance(DataRenderer)), default="auto", help="""
An explicit list of renderers to hit test against. If unset, defaults to
all renderers on a plot.
""")
Expand Down Expand Up @@ -1029,7 +1029,7 @@ class HoverTool(InspectTool):
""")

renderers = Either(Auto, List(Instance(Renderer)), default="auto", help="""
renderers = Either(Auto, List(Instance(DataRenderer)), default="auto", help="""
An explicit list of renderers to hit test against. If unset, defaults to
all renderers on a plot.
""")
Expand Down Expand Up @@ -1277,7 +1277,7 @@ def custom_tooltip(self, description):
object, or an RGB(A) NumPy array.
""")

renderers = List(Instance(Renderer), help="""
renderers = List(Instance(GlyphRenderer), help="""
An explicit list of renderers corresponding to scatter glyphs that may
be edited.
""")
Expand Down

0 comments on commit 6353f96

Please sign in to comment.