Repository Analysis

bokeh/bokeh

Interactive Data Visualization in the browser, from Python

120.4 Strong AI signal View on GitHub
120.4
Adjusted Score
120.4
Raw Score
100%
Time Factor
2026-05-29
Last Push
20,390
Stars
TypeScript
Language
326,889
Lines of Code
2537
Files
11535
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 12HIGH 255MEDIUM 8620LOW 2648

Pattern Findings

11535 matches across 16 categories. Click a row to expand file-level details.

Decorative Section Separators8607 hits · 35556 pts
SeverityFileLineSnippet
MEDIUMsetup.py1#-----------------------------------------------------------------------------
MEDIUMsetup.py6#-----------------------------------------------------------------------------
MEDIUMtests/conftest.py1#-----------------------------------------------------------------------------
MEDIUMtests/conftest.py6#-----------------------------------------------------------------------------
MEDIUMtests/__init__.py1#-----------------------------------------------------------------------------
MEDIUMtests/__init__.py7#-----------------------------------------------------------------------------
MEDIUMtests/test_bokehjs.py1#-----------------------------------------------------------------------------
MEDIUMtests/test_bokehjs.py6#-----------------------------------------------------------------------------
MEDIUMtests/test_bokehjs.py8#-----------------------------------------------------------------------------
MEDIUMtests/test_bokehjs.py10#-----------------------------------------------------------------------------
MEDIUMtests/test_bokehjs.py15#-----------------------------------------------------------------------------
MEDIUMtests/test_bokehjs.py17#-----------------------------------------------------------------------------
MEDIUMtests/test_bokehjs.py23#-----------------------------------------------------------------------------
MEDIUMtests/test_bokehjs.py25#-----------------------------------------------------------------------------
MEDIUMtests/test_bokehjs.py27#-----------------------------------------------------------------------------
MEDIUMtests/test_bokehjs.py29#-----------------------------------------------------------------------------
MEDIUMtests/test_bokehjs.py42#-----------------------------------------------------------------------------
MEDIUMtests/test_bokehjs.py44#-----------------------------------------------------------------------------
MEDIUMtests/test_bokehjs.py46#-----------------------------------------------------------------------------
MEDIUMtests/test_bokehjs.py48#-----------------------------------------------------------------------------
MEDIUMtests/test_bokehjs.py50#-----------------------------------------------------------------------------
MEDIUMtests/test_bokehjs.py52#-----------------------------------------------------------------------------
MEDIUMtests/test_cross.py1#-----------------------------------------------------------------------------
MEDIUMtests/test_cross.py6#-----------------------------------------------------------------------------
MEDIUMtests/test_cross.py8#-----------------------------------------------------------------------------
MEDIUMtests/test_cross.py10#-----------------------------------------------------------------------------
MEDIUMtests/test_cross.py15#-----------------------------------------------------------------------------
MEDIUMtests/test_cross.py17#-----------------------------------------------------------------------------
MEDIUMtests/test_cross.py41#-----------------------------------------------------------------------------
MEDIUMtests/test_cross.py43#-----------------------------------------------------------------------------
MEDIUMtests/test_cross.py49#-----------------------------------------------------------------------------
MEDIUMtests/test_cross.py51#-----------------------------------------------------------------------------
MEDIUMtests/test_cross.py60#-----------------------------------------------------------------------------
MEDIUMtests/test_cross.py62#-----------------------------------------------------------------------------
MEDIUMtests/test_cross.py87#-----------------------------------------------------------------------------
MEDIUMtests/test_cross.py89#-----------------------------------------------------------------------------
MEDIUMtests/test_cross.py91#-----------------------------------------------------------------------------
MEDIUMtests/test_cross.py93#-----------------------------------------------------------------------------
MEDIUMtests/test_cross.py193#-----------------------------------------------------------------------------
MEDIUMtests/test_cross.py195#-----------------------------------------------------------------------------
MEDIUMtests/test_examples.py1#-----------------------------------------------------------------------------
MEDIUMtests/test_examples.py6#-----------------------------------------------------------------------------
MEDIUMtests/test_examples.py8#-----------------------------------------------------------------------------
MEDIUMtests/test_examples.py10#-----------------------------------------------------------------------------
MEDIUMtests/test_examples.py15#-----------------------------------------------------------------------------
MEDIUMtests/test_examples.py17#-----------------------------------------------------------------------------
MEDIUMtests/test_examples.py60#-----------------------------------------------------------------------------
MEDIUMtests/test_examples.py62#-----------------------------------------------------------------------------
MEDIUMtests/test_examples.py72#-----------------------------------------------------------------------------
MEDIUMtests/test_examples.py74#-----------------------------------------------------------------------------
MEDIUMtests/test_examples.py317#-----------------------------------------------------------------------------
MEDIUMtests/test_examples.py319#-----------------------------------------------------------------------------
MEDIUMtests/test_examples.py321#-----------------------------------------------------------------------------
MEDIUMtests/test_examples.py323#-----------------------------------------------------------------------------
MEDIUMtests/test_examples.py325#-----------------------------------------------------------------------------
MEDIUMtests/test_examples.py327#-----------------------------------------------------------------------------
MEDIUMtests/test_defaults.py1#-----------------------------------------------------------------------------
MEDIUMtests/test_defaults.py6#-----------------------------------------------------------------------------
MEDIUMtests/test_defaults.py8#-----------------------------------------------------------------------------
MEDIUMtests/test_defaults.py10#-----------------------------------------------------------------------------
8547 more matches not shown…
Hyper-Verbose Identifiers933 hits · 794 pts
SeverityFileLineSnippet
LOWtests/conftest.py58def pandas_nullable_constructor(obj) -> IntoDataFrame:
LOWtests/conftest.py62def pandas_pyarrow_constructor(obj) -> IntoDataFrame:
LOWtests/conftest.py71def pyarrow_table_constructor(obj) -> IntoDataFrame:
LOWtests/unit/bokeh/test_resources.py68 def test_get_all_sri_versions_valid_format(self) -> None:
LOWtests/unit/bokeh/test_resources.py74 def test_get_sri_hashes_for_standard_versions(self, v) -> None:
LOWtests/unit/bokeh/test_resources.py84 def test_get_sri_hashes_for_weird_versions(self, v) -> None:
LOWtests/unit/bokeh/test_resources.py96 def test_get_sri_hashes_for_version_bad(self) -> None:
LOWtests/unit/bokeh/test_resources.py245 def test_server_root_url_empty(self) -> None:
LOWtests/unit/bokeh/test_resources.py260 def test_server_with_versioner(self) -> None:
LOWtests/unit/bokeh/test_resources.py344 def test_builtin_importable_with_env(self, monkeypatch: pytest.MonkeyPatch, env) -> None:
LOWtests/unit/bokeh/test_resources.py352 def test_render_js_cdn_release(self, monkeypatch: pytest.MonkeyPatch) -> None:
LOWtests/unit/bokeh/test_resources.py369 def test_render_js_cdn_dev_release(self, v: str, monkeypatch: pytest.MonkeyPatch) -> None:
LOWtests/unit/bokeh/test_resources.py380 def test_render_js_cdn_dev_local(self, monkeypatch: pytest.MonkeyPatch) -> None:
LOWtests/unit/bokeh/test_resources.py412def test_external_js_and_css_resource_embedding() -> None:
LOWtests/unit/bokeh/test_resources.py452def test_external_js_and_css_resource_ordering() -> None:
LOWtests/unit/bokeh/test_palettes.py30def test_cmap_generator_function() -> None:
LOWtests/unit/bokeh/test_palettes.py40def test_all_palettes___palettes__() -> None:
LOWtests/unit/bokeh/test_palettes.py76def test_varying_alpha_palette() -> None:
LOWtests/unit/bokeh/test_layouts__typing.py33def test_gridplot_typing_no_ncols() -> None:
LOWtests/unit/bokeh/test_layouts__typing.py48def test_gridplot_typing_using_ncols() -> None:
LOWtests/unit/bokeh/test_typing.py49def mypy_test_figure_list_attr_splat() -> None:
LOWtests/unit/bokeh/test_themes.py71 def test_construct_empty_theme_from_json(self) -> None:
LOWtests/unit/bokeh/test_themes.py76 def test_construct_no_json_or_filename(self) -> None:
LOWtests/unit/bokeh/test_themes.py81 def test_construct_json_and_filename(self) -> None:
LOWtests/unit/bokeh/test_themes.py290 def test_setting_built_in_theme_obj(self) -> None:
LOWtests/unit/bokeh/test_themes.py297 def test_setting_built_in_theme_str(self) -> None:
LOWtests/unit/bokeh/test_themes.py304 def test_setting_built_in_theme_missing(self) -> None:
LOWtests/unit/bokeh/test_themes.py311 def test_setting_built_in_theme_error(self) -> None:
LOWtests/unit/bokeh/test_themes.py60 def test_construct_empty_theme_from_file(self) -> None:
LOWtests/unit/bokeh/test_themes.py93 def test_construct_bad_class_props(self) -> None:
LOWtests/unit/bokeh/test_themes.py98 def test_construct_nonempty_theme_from_file(self) -> None:
LOWtests/unit/bokeh/test_themes.py140 def test_theming_a_model_via_base(self) -> None:
LOWtests/unit/bokeh/test_themes.py158 def test_subclass_theme_used_rather_than_base(self) -> None:
LOWtests/unit/bokeh/test_themes.py179 def test_theming_a_document_after_adding_root(self) -> None:
LOWtests/unit/bokeh/test_themes.py202 def test_theming_a_document_before_adding_root(self) -> None:
LOWtests/unit/bokeh/test_themes.py225 def test_setting_document_theme_to_none(self) -> None:
LOWtests/unit/bokeh/test_themes.py248 def _compare_dict_to_model_class_defaults(self, props, model_class):
LOWtests/unit/bokeh/test_themes.py260 def _compare_dict_to_model_defaults(self, props, model_name):
LOWtests/unit/bokeh/test_themes.py271 def test_default_theme_is_empty(self) -> None:
LOWtests/unit/bokeh/test_client_server.py169 async def check_http_ok_socket_blocked(self, server, origin=None):
LOWtests/unit/bokeh/test_client_server.py173 async def check_http_blocked_socket_blocked(self, server, origin=None):
LOWtests/unit/bokeh/test_client_server.py177 async def test_allow_websocket_origin(self, ManagedServerLoop: MSL) -> None:
LOWtests/unit/bokeh/test_client_server.py1040def test_session_show_adds_obj_to_curdoc_if_necessary(m: MagicMock) -> None:
LOWtests/unit/bokeh/test_client_server.py90 def test_minimal_connect_and_disconnect(self, ManagedServerLoop: MSL) -> None:
LOWtests/unit/bokeh/test_client_server.py146 async def check_connect_session_fails(self, server, origin):
LOWtests/unit/bokeh/test_client_server.py388 def test_client_changes_go_to_server(self, ManagedServerLoop: MSL) -> None:
LOWtests/unit/bokeh/test_client_server.py436 def test_server_changes_go_to_client(self, ManagedServerLoop: MSL) -> None:
LOWtests/unit/bokeh/test_client_server.py474 def do_set_property_on_server():
LOWtests/unit/bokeh/test_client_server.py503 def test_client_session_timeout_async(self, ManagedServerLoop: MSL) -> None:
LOWtests/unit/bokeh/test_client_server.py535 def test_client_session_timeout_async_added_before_push(self, ManagedServerLoop: MSL) -> None:
LOWtests/unit/bokeh/test_client_server.py568 def test_server_session_timeout_async(self, ManagedServerLoop: MSL) -> None:
LOWtests/unit/bokeh/test_client_server.py603 def test_client_session_next_tick_async(self, ManagedServerLoop: MSL) -> None:
LOWtests/unit/bokeh/test_client_server.py635 def test_client_session_next_tick_async_added_before_push(self, ManagedServerLoop: MSL) -> None:
LOWtests/unit/bokeh/test_client_server.py668 def test_server_session_next_tick_async(self, ManagedServerLoop: MSL) -> None:
LOWtests/unit/bokeh/test_client_server.py703 def test_client_session_periodic_async(self, ManagedServerLoop: MSL) -> None:
LOWtests/unit/bokeh/test_client_server.py733 def test_client_session_periodic_async_added_before_push(self, ManagedServerLoop: MSL) -> None:
LOWtests/unit/bokeh/test_client_server.py764 def test_server_session_periodic_async(self, ManagedServerLoop: MSL) -> None:
LOWtests/unit/bokeh/test_client_server.py798 def test_lots_of_concurrent_messages(self, ManagedServerLoop: MSL) -> None:
LOWtests/unit/bokeh/test_client_server.py887def test_client_changes_do_not_boomerang(monkeypatch: pytest.MonkeyPatch, ManagedServerLoop: MSL) -> None:
LOWtests/unit/bokeh/test_client_server.py933def test_server_changes_do_not_boomerang(monkeypatch: pytest.MonkeyPatch, ManagedServerLoop: MSL) -> None:
873 more matches not shown…
Over-Commented Block769 hits · 715 pts
SeverityFileLineSnippet
LOWtests/__init__.py1#-----------------------------------------------------------------------------
LOWtests/test_bokehjs.py1#-----------------------------------------------------------------------------
LOWtests/test_bokehjs.py41
LOWtests/test_cross.py1#-----------------------------------------------------------------------------
LOWtests/test_examples.py1#-----------------------------------------------------------------------------
LOWtests/test_examples.py321#-----------------------------------------------------------------------------
LOWtests/test_defaults.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/test_resources.py1# -----------------------------------------------------------------------------
LOWtests/unit/bokeh/test_palettes.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/test_layouts__typing.py1# -----------------------------------------------------------------------------
LOWtests/unit/bokeh/test_layouts__typing.py61
LOWtests/unit/bokeh/test_transform.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/test_transform.py301
LOWtests/unit/bokeh/test___init__.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/test___init__.py101 @pytest.mark.skip
LOWtests/unit/bokeh/test_driving.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/test_typing.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/test_typing.py81
LOWtests/unit/bokeh/test_themes.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/test_themes.py321#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/test_client_server.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/test_server.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/test_server.py61# Private API
LOWtests/unit/bokeh/test___main__.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/test___main__.py61#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/test_ext.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/test_events.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/test_events.py421
LOWtests/unit/bokeh/test_regressions.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/test_regressions.py61 assert obj0.p0 == [obj1]
LOWtests/unit/bokeh/test_objects.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/test_objects.py601#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/test_layouts.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/test_settings.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/test_settings.py441# Code
LOWtests/unit/bokeh/core/test_validation.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/core/test_templates.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/core/test_templates.py101#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/core/test_json_encoder.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/core/test_enums.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/core/test_query.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/core/test_query.py281#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/core/test_has_props.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/core/test_serialization.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/core/test_properties.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/core/test_properties.py621 assert f.x == 30
LOW…sts/unit/bokeh/core/property/test_string_properties.py1#-----------------------------------------------------------------------------
LOW…sts/unit/bokeh/core/property/test_string_properties.py81# Dev API
LOWtests/unit/bokeh/core/property/test_color__property.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/core/property/test_required.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/core/property/test_vectorization.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/core/property/test_vectorization.py61 assert bcpv.expr(expr, transform=transform) == bcpv.Expr(expr=expr, transform=transform)
LOW…ts/unit/bokeh/core/property/test_wrappers__property.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/core/property/test_primitive.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/core/property/test_visual.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/core/property/test_container.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/core/property/test_instance.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/core/property/test_instance.py201#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/core/property/test_singletons.py1#-----------------------------------------------------------------------------
LOWtests/unit/bokeh/core/property/test_struct.py1#-----------------------------------------------------------------------------
709 more matches not shown…
Unused Imports822 hits · 654 pts
SeverityFileLineSnippet
LOWsetup.py7
LOWtests/conftest.py7
LOWtests/test_bokehjs.py11
LOWtests/test_cross.py11
LOWtests/test_examples.py11
LOWtests/test_defaults.py11
LOWtests/unit/bokeh/test_resources.py11
LOWtests/unit/bokeh/test_palettes.py11
LOWtests/unit/bokeh/test_transform.py11
LOWtests/unit/bokeh/test___init__.py11
LOWtests/unit/bokeh/test_driving.py11
LOWtests/unit/bokeh/test_typing.py24
LOWtests/unit/bokeh/test_themes.py11
LOWtests/unit/bokeh/test_client_server.py11
LOWtests/unit/bokeh/test_server.py11
LOWtests/unit/bokeh/test___main__.py11
LOWtests/unit/bokeh/test_ext.py11
LOWtests/unit/bokeh/test_events.py11
LOWtests/unit/bokeh/test_regressions.py11
LOWtests/unit/bokeh/test_objects.py11
LOWtests/unit/bokeh/test_layouts.py11
LOWtests/unit/bokeh/test_settings.py11
LOWtests/unit/bokeh/core/test_validation.py11
LOWtests/unit/bokeh/core/test_templates.py11
LOWtests/unit/bokeh/core/test_json_encoder.py11
LOWtests/unit/bokeh/core/test_enums.py11
LOWtests/unit/bokeh/core/test_query.py11
LOWtests/unit/bokeh/core/test_has_props.py11
LOWtests/unit/bokeh/core/test_serialization.py11
LOWtests/unit/bokeh/core/test_properties.py11
LOW…sts/unit/bokeh/core/property/test_string_properties.py11
LOWtests/unit/bokeh/core/property/test_color__property.py11
LOWtests/unit/bokeh/core/property/test_required.py11
LOWtests/unit/bokeh/core/property/test_vectorization.py11
LOW…ts/unit/bokeh/core/property/test_wrappers__property.py11
LOWtests/unit/bokeh/core/property/test_primitive.py11
LOWtests/unit/bokeh/core/property/test_visual.py11
LOWtests/unit/bokeh/core/property/test_container.py11
LOWtests/unit/bokeh/core/property/test_instance.py11
LOWtests/unit/bokeh/core/property/test_singletons.py11
LOWtests/unit/bokeh/core/property/test_struct.py11
LOWtests/unit/bokeh/core/property/test_data_frame.py11
LOWtests/unit/bokeh/core/property/test_data_class.py11
LOWtests/unit/bokeh/core/property/test_bases.py11
LOWtests/unit/bokeh/core/property/test_nullable.py11
LOWtests/unit/bokeh/core/property/test_constraints.py11
LOWtests/unit/bokeh/core/property/test_numeric.py11
LOWtests/unit/bokeh/core/property/test_include.py11
LOWtests/unit/bokeh/core/property/_util_property.py11
LOWtests/unit/bokeh/core/property/test_any.py11
LOWtests/unit/bokeh/core/property/test_datetime.py11
LOWtests/unit/bokeh/core/property/test_dataspec.py11
LOW…/unit/bokeh/core/property/test_validation__property.py11
LOWtests/unit/bokeh/core/property/test_either.py11
LOW…sts/unit/bokeh/core/property/test___init___property.py11
LOW…ts/unit/bokeh/core/property/test_descriptor_factory.py11
LOWtests/unit/bokeh/core/property/test_aliases.py11
LOWtests/unit/bokeh/core/property/test_alias.py11
LOWtests/unit/bokeh/core/property/test_override.py11
LOWtests/unit/bokeh/core/property/test_json__property.py11
762 more matches not shown…
Cross-File Repetition87 hits · 435 pts
SeverityFileLineSnippet
HIGHsrc/bokeh/core/property/required.py0a property accepting a value of some other type while having undefined default.
HIGHsrc/bokeh/core/property/numeric.py0a property accepting a value of some other type while having undefined default.
HIGHsrc/bokeh/core/property/numeric.py0a property accepting a value of some other type while having undefined default.
HIGHsrc/bokeh/core/property/container.py0some property types need to wrap their values in special containers, etc.
HIGHsrc/bokeh/core/property/container.py0some property types need to wrap their values in special containers, etc.
HIGHsrc/bokeh/core/property/container.py0some property types need to wrap their values in special containers, etc.
HIGHsrc/bokeh/core/property/container.py0some property types need to wrap their values in special containers, etc.
HIGHsrc/bokeh/core/property/bases.py0some property types need to wrap their values in special containers, etc.
HIGHsrc/bokeh/core/property/constraints.py0clone this property and allow to override ``default`` and ``help``.
HIGHsrc/bokeh/core/property/enum.py0clone this property and allow to override ``default`` and ``help``.
HIGHsrc/bokeh/core/property/bases.py0clone this property and allow to override ``default`` and ``help``.
HIGHsrc/bokeh/core/property/bases.py0clone this property and allow to override ``default`` and ``help``.
HIGHsrc/bokeh/sphinxext/_internal/bokeh_roles.py0link to a bokeh github issue. returns 2 part tuple containing list of nodes to insert into the document and a list of sy
HIGHsrc/bokeh/sphinxext/_internal/bokeh_roles.py0link to a bokeh github issue. returns 2 part tuple containing list of nodes to insert into the document and a list of sy
HIGHsrc/bokeh/sphinxext/_internal/bokeh_roles.py0link to a bokeh github issue. returns 2 part tuple containing list of nodes to insert into the document and a list of sy
HIGHsrc/bokeh/server/views/autoload_js_handler.py0provide a request handler that returns a page displaying a document.
HIGHsrc/bokeh/server/views/static_handler.py0provide a request handler that returns a page displaying a document.
HIGHsrc/bokeh/server/views/doc_handler.py0provide a request handler that returns a page displaying a document.
HIGHsrc/bokeh/server/views/session_handler.py0implements a custom tornado handler for document display page
HIGHsrc/bokeh/server/views/doc_handler.py0implements a custom tornado handler for document display page
HIGHsrc/bokeh/server/views/metadata_handler.py0implements a custom tornado handler for document display page
HIGHsrc/bokeh/models/tools.py0a shaded annotation drawn to indicate the selection region.
HIGHsrc/bokeh/models/tools.py0a shaded annotation drawn to indicate the selection region.
HIGHsrc/bokeh/models/tools.py0a shaded annotation drawn to indicate the selection region.
HIGHsrc/bokeh/models/tools.py0a shaded annotation drawn to indicate the selection region.
HIGHsrc/bokeh/models/tools.py0a list of renderers corresponding to glyphs that may be edited.
HIGHsrc/bokeh/models/tools.py0a list of renderers corresponding to glyphs that may be edited.
HIGHsrc/bokeh/models/tools.py0a list of renderers corresponding to glyphs that may be edited.
HIGHsrc/bokeh/models/tools.py0a list of renderers corresponding to glyphs that may be edited.
HIGHsrc/bokeh/models/tools.py0a list of renderers corresponding to glyphs that may be edited.
HIGHsrc/bokeh/models/tools.py0a list of renderers corresponding to glyphs that may be edited.
HIGHsrc/bokeh/models/glyphs.py0allows the box to have rounded corners. .. note:: this property is experimental and may change at any point.
HIGHsrc/bokeh/models/glyphs.py0allows the box to have rounded corners. .. note:: this property is experimental and may change at any point.
HIGHsrc/bokeh/models/annotations/geometry.py0allows the box to have rounded corners. .. note:: this property is experimental and may change at any point.
HIGHsrc/bokeh/models/glyphs.py0which direction to stroke between the start and end angles.
HIGHsrc/bokeh/models/glyphs.py0which direction to stroke between the start and end angles.
HIGHsrc/bokeh/models/glyphs.py0which direction to stroke between the start and end angles.
HIGHsrc/bokeh/models/glyphs.py0the {prop} values for the horizontal directed area.
HIGHsrc/bokeh/models/glyphs.py0the {prop} values for the horizontal directed area.
HIGHsrc/bokeh/models/glyphs.py0the {prop} values for the horizontal directed area.
HIGHsrc/bokeh/models/glyphs.py0the {prop} values for the horizontal directed area.
HIGHsrc/bokeh/models/glyphs.py0the angles to rotate the text, as measured from the horizontal.
HIGHsrc/bokeh/models/annotations/labels.py0the angles to rotate the text, as measured from the horizontal.
HIGHsrc/bokeh/models/annotations/html/labels.py0the angles to rotate the text, as measured from the horizontal.
HIGHsrc/bokeh/models/axes.py0a ``tickformatter`` to use for formatting the visual appearance of ticks.
HIGHsrc/bokeh/models/annotations/legends.py0a ``tickformatter`` to use for formatting the visual appearance of ticks.
HIGHsrc/bokeh/models/annotations/legends.py0a ``tickformatter`` to use for formatting the visual appearance of ticks.
HIGHsrc/bokeh/models/axes.py0provide explicit tick label values for specific tick locations that override normal formatting.
HIGHsrc/bokeh/models/annotations/legends.py0provide explicit tick label values for specific tick locations that override normal formatting.
HIGHsrc/bokeh/models/annotations/legends.py0provide explicit tick label values for specific tick locations that override normal formatting.
HIGHsrc/bokeh/models/axes.py0allows to filter out labels, e.g. declutter labels to avoid overlap.
HIGHsrc/bokeh/models/annotations/legends.py0allows to filter out labels, e.g. declutter labels to avoid overlap.
HIGHsrc/bokeh/models/annotations/legends.py0allows to filter out labels, e.g. declutter labels to avoid overlap.
HIGHsrc/bokeh/models/annotations/labels.py0the unit type for the ``xs`` attribute. interpreted as |data units| by default.
HIGHsrc/bokeh/models/annotations/geometry.py0the unit type for the ``xs`` attribute. interpreted as |data units| by default.
HIGHsrc/bokeh/models/annotations/html/labels.py0the unit type for the ``xs`` attribute. interpreted as |data units| by default.
HIGHsrc/bokeh/models/annotations/labels.py0the unit type for the ``ys`` attribute. interpreted as |data units| by default.
HIGHsrc/bokeh/models/annotations/geometry.py0the unit type for the ``ys`` attribute. interpreted as |data units| by default.
HIGHsrc/bokeh/models/annotations/html/labels.py0the unit type for the ``ys`` attribute. interpreted as |data units| by default.
HIGHsrc/bokeh/models/annotations/legends.py0the distance (in pixels) that major ticks should extend out of the main plot area.
27 more matches not shown…
Cross-Language Confusion70 hits · 402 pts
SeverityFileLineSnippet
HIGHtests/unit/bokeh/core/test_json_encoder.py44[null,true,false,-128,-1,0,1,128,{"type":"number","value":"nan"}]\
HIGHtests/unit/bokeh/core/test_json_encoder.py48[null,true,false,-128,-1,0,1,128,{"type":"number","value":"nan"}]\
HIGHtests/unit/bokeh/core/test_json_encoder.py53 null,
HIGHtests/unit/bokeh/core/test_json_encoder.py70 null,
HIGHtests/unit/bokeh/core/test_has_props.py268 assert p1.equals(p2)
HIGHtests/unit/bokeh/core/test_has_props.py270 assert not p1.equals(p2)
HIGHtests/unit/bokeh/core/test_has_props.py272 assert p1.equals(p2)
HIGHtests/unit/bokeh/core/test_serialization.py1417 '"name":null,' +
HIGHtests/unit/bokeh/core/test_serialization.py1418 '"null_child":null,' +
HIGHtests/unit/bokeh/util/test_compiler.py157 formatted.push(`+${difference}}`)
HIGHexamples/advanced/extensions/ticking.py17 formatted.push(`+${(Number(ticks[i]) - Number(ticks[0])).toPrecision(2)}`)
HIGHexamples/basic/data/server_sent_events_source.py17 result.x.push(pts[i][0])
HIGHexamples/basic/data/server_sent_events_source.py18 result.y.push(pts[i][1])
HIGHexamples/basic/data/ajax_source.py13 result.x.push(x)
HIGHexamples/basic/data/ajax_source.py14 result.y.push(y)
HIGHexamples/server/app/events_app.py28 args.push(attrs[i] + '=' + val)
HIGHexamples/models/custom.py40 colors.push(`${color} ${offset}px`)
HIGHexamples/models/custom.py42 colors.push(`${color} ${offset}px`)
HIGHexamples/models/buttons.py23button.js_on_event("button_click", CustomJS(code="console.log('button: click ', this.toString())"))
HIGHexamples/models/buttons.py24button.js_on_event("button_click", CustomJS(code="console.log('button: click ', this.toString())"))
HIGHexamples/models/buttons.py27button_disabled.js_on_event("button_click", CustomJS(code="console.log('button(disabled): click ', this.toString())"))
HIGHexamples/models/buttons.py30toggle_inactive.js_on_event('button_click', CustomJS(code="console.log('toggle(inactive): active=' + this.origin.active,
HIGHexamples/models/buttons.py33toggle_active.js_on_event('button_click', CustomJS(code="console.log('toggle(active): active=' + this.origin.active, thi
HIGHexamples/models/buttons.py38dropdown.js_on_event("button_click", CustomJS(code="console.log('dropdown: click ' + this.toString())"))
HIGHexamples/models/buttons.py39dropdown.js_on_event("menu_item_click", CustomJS(code="console.log('dropdown: ' + this.item, this.toString())"))
HIGHexamples/models/buttons.py42dropdown_disabled.js_on_event("button_click", CustomJS(code="console.log('dropdown(disabled): click ' + this.toString())
HIGHexamples/models/buttons.py43dropdown_disabled.js_on_event("menu_item_click", CustomJS(code="console.log('dropdown(disabled): ' + this.item, this.toS
HIGHexamples/models/buttons.py46dropdown_split.js_on_event("button_click", CustomJS(code="console.log('dropdown(split): click ' + this.toString())"))
HIGHexamples/models/buttons.py47dropdown_split.js_on_event("menu_item_click", CustomJS(code="console.log('dropdown(split): ' + this.item, this.toString(
HIGHexamples/models/buttons.py50checkbox_group.js_on_change('active', CustomJS(code="console.log('checkbox_group: active=' + this.active, this.toString(
HIGHexamples/models/buttons.py53radio_group.js_on_change('active', CustomJS(code="console.log('radio_group: active=' + this.active, this.toString())"))
HIGHexamples/models/buttons.py56checkbox_button_group.js_on_event("button_click", CustomJS(code="console.log('checkbox_button_group: active=' + this.ori
HIGHexamples/models/buttons.py59radio_button_group.js_on_event("button_click", CustomJS(code="console.log('radio_button_group: active=' + this.origin.ac
HIGHexamples/interaction/tools/hover_tooltip_advanced.py21x_filter = CustomJS(code="""export default (args, tool, {value: x}) => 20 <= x && x <= 80""")
HIGHexamples/interaction/tools/hover_tooltip_advanced.py22y_filter = CustomJS(code="""export default (args, tool, {value: y}) => 20 <= y && y <= 80""")
HIGH…amples/interaction/widgets/multiple_datetime_picker.py16 console.log("multiple_datetime_picker: value=" + this.value, this.toString())
HIGHexamples/interaction/widgets/radio_button_group.py8 console.log('radio_button_group: active=' + btn.active, this.toString())
HIGHexamples/interaction/widgets/datetime_picker.py11 console.log("datetime_picker: value=" + this.value, this.toString())
HIGHexamples/interaction/widgets/checkbox_button_group.py8 console.log('checkbox_button_group: active=' + btn.active, this.toString())
HIGHexamples/interaction/widgets/time_picker.py6 console.log("time_picker: value=" + this.value, this.toString())
HIGHexamples/interaction/widgets/toggle_button.py6 console.log('toggle: active=' + btn.active, this.toString())
HIGHexamples/interaction/widgets/dateslider.py10 console.log('date_slider: value=' + this.value, this.toString())
HIGHexamples/interaction/widgets/radio_group.py8 console.log('radio_group: active=' + this.origin.active, this.toString())
HIGHexamples/interaction/widgets/date_picker.py11 console.log("date_picker: value=" + this.value, this.toString())
HIGHexamples/interaction/widgets/date_range_picker.py12 console.log("date_range_picker: value=" + this.value, this.toString())
HIGHexamples/interaction/widgets/datetime_range_picker.py12 console.log("datetime_range_picker: value=" + this.value, this.toString())
HIGHexamples/interaction/widgets/multiselect.py8 console.log('multi_select: value=' + this.value, this.toString())
HIGHexamples/interaction/widgets/checkbox_group.py8 console.log('checkbox_group: active=' + this.active, this.toString())
HIGHexamples/interaction/widgets/textinput.py6 console.log('text_input: value=' + this.value, this.toString())
HIGHexamples/interaction/widgets/textareainput.py6 console.log('text_area_input: value=' + this.value, this.toString())
HIGHexamples/interaction/widgets/button.py5button.js_on_event("button_click", CustomJS(code="console.log('button: click!', this.toString())"))
HIGHexamples/interaction/widgets/select_widget.py6 console.log('select: value=' + this.value, this.toString())
HIGHexamples/interaction/widgets/passwordinput.py6 console.log('password_input: value=' + this.value, this.toString())
HIGHexamples/interaction/widgets/multichoice.py8 console.log('multi_choice: value=' + this.value, this.toString())
HIGHexamples/interaction/widgets/range_slider.py6 console.log('range_slider: value=' + this.value, this.toString())
HIGHexamples/interaction/widgets/daterangeslider.py9 console.log('date_range_slider: value=' + this.value, this.toString())
HIGHexamples/interaction/widgets/dropdown.py7dropdown.js_on_event("menu_item_click", CustomJS(code="console.log('dropdown: ' + this.item, this.toString())"))
HIGHexamples/interaction/widgets/multiple_date_picker.py12 console.log("multiple_date_picker: value=" + this.value, this.toString())
HIGHexamples/interaction/widgets/datetimerangeslider.py9 console.log('datetime_range_slider: value=' + this.value, this.toString())
HIGHexamples/interaction/js_callbacks/js_on_event.py28 args.push(attrs[i] + '=' + val)
10 more matches not shown…
Docstring Block Structure71 hits · 355 pts
SeverityFileLineSnippet
HIGHsrc/bokeh/palettes.py1510 Generate a new palette as a subset of a given palette. Given an input ``palette``, take ``n`` colors from it by di
HIGHsrc/bokeh/palettes.py1532 Generate a new palette by combining exactly two input palettes. Given an input ``palette1`` and ``palette2``, take
HIGHsrc/bokeh/palettes.py1574 Generate a palette that is a single color with linearly varying alpha. Alpha may vary from low to high or high to
HIGHsrc/bokeh/palettes.py1642 Generate a new palette by interpolating a given palette. Linear interpolation is performed separately on each of t
HIGHsrc/bokeh/palettes.py1679 Generate a palette of colors from the Magma palette. The full Magma palette that serves as input for deriving new
HIGHsrc/bokeh/palettes.py1708 Generate a palette of colors from the Inferno palette. The full Inferno palette that serves as input for deriving
HIGHsrc/bokeh/palettes.py1737 Generate a palette of colors from the Plasma palette. The full Plasma palette that serves as input for deriving ne
HIGHsrc/bokeh/palettes.py1766 Generate a palette of colors from the Viridis palette. The full Viridis palette that serves as input for deriving
HIGHsrc/bokeh/palettes.py1795 Generate a palette of colors from the Cividis palette. The full Cividis palette that serves as input for deriving
HIGHsrc/bokeh/palettes.py1824 Generate a palette of colors from the Turbo palette. Turbo is described here: https://ai.googleblog.com/2019/
HIGHsrc/bokeh/palettes.py1857 Generate a palette of colors from the Greys palette. The full Greys palette that serves as input for deriving new
HIGHsrc/bokeh/palettes.py1889 Generate a palette of colors or from the Greys palette. The full Greys palette that serves as input for deriving n
HIGHsrc/bokeh/settings.py198 Convert a string to True or False. If a boolean is passed in, it is returned as-is. Otherwise the function map
HIGHsrc/bokeh/settings.py265Convert a string to a Python logging level If a log level is passed in, it is returned as-is. Otherwise the functio
HIGHsrc/bokeh/settings.py302Convert a string to a validation level If a validation level is passed in, it is returned as-is. Args:
HIGHsrc/bokeh/settings.py326Convert a string to an .ico path Args: value (str): A string value to convert to a .ico path
HIGHsrc/bokeh/settings.py466Return the setting value according to the standard precedence. Args: value (any, optional):
HIGHsrc/bokeh/resources.py118 Report SRI script hashes for a specific version of BokehJS. Bokeh provides `Subresource Integrity`_ hashes for all
HIGHsrc/bokeh/layouts.py91 Create a row of Bokeh Layout objects. Forces all objects to have the same sizing_mode, which is required for comple
HIGHsrc/bokeh/layouts.py126 Create a column of Bokeh Layout objects. Forces all objects to have the same sizing_mode, which is required for com
HIGHsrc/bokeh/layouts.py157 Create a grid-based arrangement of Bokeh Layout objects. Args: children (list of lists of :class:`~bokeh.m
HIGHsrc/bokeh/layouts.py234 Create a grid of plots rendered on separate canvases. The ``gridplot`` function builds a single toolbar for all th
HIGHsrc/bokeh/core/enums.py211 Create an |Enumeration| object from a sequence of values. Call ``enumeration`` with a sequence of (unique) strings
HIGHsrc/bokeh/core/query.py62 Query a collection of Bokeh models and yield any that match the a selector. Args: objs (Iterable[Model
HIGHsrc/bokeh/core/json_encoder.py72 Convert an object or a serialized representation to a JSON string. This function accepts Python-serializable o
HIGHsrc/bokeh/core/property/descriptors.py246 Implement the getter for the Python `descriptor protocol`_. For instance attribute access, we delegate to the
HIGHsrc/bokeh/core/property/descriptors.py486 Internal implementation of instance attribute access for the ``PropertyDescriptor`` getter. If the val
HIGHsrc/bokeh/core/property/wrappers.py116 A decorator for mutating methods of property container classes that notifies owners of the property container about
HIGHsrc/bokeh/core/property/bases.py290 Determine whether we can set this property from this value. Validation happens before transform() Arg
HIGHsrc/bokeh/core/validation/decorators.py106 Decorator to mark a validator method for a Bokeh error condition Args: code_or_name (int, str or Issue) :
HIGHsrc/bokeh/core/validation/decorators.py146 Decorator to mark a validator method for a Bokeh error condition Args: code_or_name (int, str or Issue) :
HIGHsrc/bokeh/embed/standalone.py86 Return JavaScript code and a script tag that can be used to embed Bokeh Plots. The data for the plot is stored
HIGHsrc/bokeh/embed/standalone.py158 Return HTML components to embed a Bokeh plot. The data for the plot is stored directly in the returned HTML. A
HIGHsrc/bokeh/util/strings.py64 Join together sequences of strings into English-friendly phrases using the conjunction ``or`` when appropriate.
HIGHsrc/bokeh/util/dependencies.py70 Attempt to import a required dependency. Raises a RuntimeError if the requested module is not available. Args
HIGHsrc/bokeh/io/util.py53 Generate a default filename with a given extension, attempting to use the filename of the currently running process
HIGHsrc/bokeh/io/notebook.py176 Install a new notebook display hook. Bokeh comes with support for Jupyter notebooks built-in. However, there are
HIGHsrc/bokeh/io/notebook.py256 Update Bokeh plots in a Jupyter notebook output cells with new data or property values. When working inside th
HIGHsrc/bokeh/io/notebook.py348 Run an installed notebook hook with supplied arguments. Args: notebook_type (str) : Name of an
HIGHsrc/bokeh/server/server.py494 Create a ``Server`` instance, applying any relevant ``Server`` settings from the global settings module, if the
HIGHsrc/bokeh/server/util.py104 This allowlist can be used to restrict websocket or other connections to only those explicitly originating fro
HIGHsrc/bokeh/server/util.py167 Match a host string against a pattern Args: host (str) A hostname to compare to the given patt
HIGHsrc/bokeh/models/sources.py471 Efficiently update data source columns with new append-only data. In cases where it is necessary to update dat
HIGHsrc/bokeh/models/sources.py514 Internal implementation to efficiently update data source columns with new append-only data. The internal imple
HIGHsrc/bokeh/models/sources.py632 Efficiently update data source columns at specific locations If it is only necessary to update a small subset
HIGHsrc/bokeh/models/plots.py123 Query this object and all of its references for objects that match the given selector. There are a few
HIGHsrc/bokeh/models/widgets/tables.py892 Create a simple table from a pandas dataframe, dictionary or ColumnDataSource. Args: data (DataFra
HIGHsrc/bokeh/document/document.py597 Remove a callback added earlier with ``add_next_tick_callback``. Args: callback_obj : a value retu
HIGHsrc/bokeh/document/document.py627 Remove a callback added earlier with ``add_periodic_callback`` Args: callback_obj : a value return
HIGHsrc/bokeh/document/document.py673 Remove a callback added earlier with ``add_timeout_callback``. Args: callback_obj : a value return
HIGHsrc/bokeh/document/callbacks.py162 Internal implementation for adding session callbacks. Args: callback_obj (SessionCallback) :
HIGHsrc/bokeh/protocol/message.py166 Creates a new message, assembled from JSON fragments. Args: header_json (``JSON``) :
HIGHsrc/bokeh/protocol/message.py207 Associate a buffer header and payload with this message. Args: buffer (Buffer) : a buffer
HIGHsrc/bokeh/protocol/message.py231 Add a buffer header and payload that we read from the socket. This differs from add_buffer() because we're val
HIGHsrc/bokeh/plotting/graph.py43 Generate a ``GraphRenderer`` from a ``networkx.Graph`` object and networkx layout function. Any keyword
HIGHsrc/bokeh/plotting/_renderer.py151 Applies basic cascading logic to deduce properties for a glyph. Args: glyphclass : the typ
HIGHsrc/bokeh/plotting/_figure.py362 Generate multiple ``HArea`` renderers for levels stacked left to right. Args: stackers (se
HIGHsrc/bokeh/plotting/_figure.py404 Generate multiple ``HBar`` renderers for levels stacked left to right. Args: stackers (seq[str]) :
HIGHsrc/bokeh/plotting/_figure.py445 Generate multiple ``Line`` renderers for lines stacked vertically or horizontally. Args: x
HIGHsrc/bokeh/plotting/_figure.py503 Generate multiple ``Line`` renderers for lines stacked horizontally. Args: stackers (seq[str]) : a
11 more matches not shown…
Cross-Language Confusion (JS/TS)27 hits · 152 pts
SeverityFileLineSnippet
HIGHbokehjs/make/task.ts68 print(`${chalk.red("failed:")} ${msg}`)
HIGHbokehjs/src/compiler/build.ts72 print(`${cyan("npm install")} failed with exit code ${red(`${status}`)}.`)
HIGHbokehjs/src/compiler/build.ts78 print(`Using nodejs ${magenta(node_version)} and npm ${magenta(npm_version(base_dir))}`)
HIGHbokehjs/src/compiler/build.ts79 print(`Working directory: ${cyan(base_dir)}`)
HIGHbokehjs/src/compiler/build.ts214 print(`Created empty ${cyan("index.ts")}. This is the entry point of your extension.`)
HIGHbokehjs/src/compiler/build.ts217 print(`You can build your extension with ${magenta(`bokeh build ${rel}`)}`)
HIGHbokehjs/src/compiler/build.ts219 print("All done.")
HIGHbokehjs/src/compiler/build.ts260 print("Using different version of bokeh, rebuilding from scratch.")
HIGHbokehjs/src/compiler/build.ts270 print(`${cyan(package_json_path)} doesn't exist. Not a npm package.`)
HIGHbokehjs/src/compiler/build.ts273 print(`Running ${cyan("npm install")}.`)
HIGHbokehjs/src/compiler/build.ts278 print(`${result} Running ${cyan("npm install")}.`)
HIGHbokehjs/src/compiler/build.ts355 print(report_diagnostics(tsconfig2.diagnostics).text)
HIGHbokehjs/src/compiler/build.ts363 print(`Compiling TypeScript (${magenta(count_files(files))})`)
HIGHbokehjs/src/compiler/build.ts370 print(report_diagnostics(tsoutput.diagnostics).text)
HIGHbokehjs/src/compiler/build.ts51 print(` ${file}`)
HIGHbokehjs/src/compiler/build.ts139 print("Already a bokeh extension. Quitting.")
HIGHbokehjs/src/compiler/build.ts145 print(`Wrote ${cyan(path)}`)
HIGHbokehjs/src/compiler/build.ts184 print(`${red("Invalid input")}. Assuming no.`)
HIGHbokehjs/src/compiler/build.ts242 print("Not a bokeh extension. Quitting.")
HIGHbokehjs/src/compiler/build.ts301 print(`TypeScript lib: ${cyan(tslib_dir)}`)
HIGHbokehjs/src/compiler/build.ts305 print(`Using ${cyan(tsconfig_path)}`)
HIGHbokehjs/src/compiler/build.ts326 print(report_diagnostics(tsconfig.diagnostics).text)
HIGHbokehjs/src/compiler/build.ts342 print(`Compiling styles (${magenta(count_files(styles))})`)
HIGHbokehjs/src/compiler/build.ts393 print("Linking modules")
HIGHbokehjs/src/compiler/build.ts414 print(`Failed to license text from ${magenta(license_path)}`)
HIGHbokehjs/src/compiler/build.ts456 print(`Output written to ${cyan(dist_dir)}`)
HIGHbokehjs/src/compiler/build.ts457 print("All done.")
Hallucination Indicators12 hits · 150 pts
SeverityFileLineSnippet
CRITICALbokehjs/src/lib/models/annotations/toolbar_panel.ts48 this.plot_view.canvas.ui_event_bus.focus.connect(() => {
CRITICALbokehjs/src/lib/models/annotations/toolbar_panel.ts51 this.plot_view.canvas.ui_event_bus.blur.connect(() => {
CRITICALbokehjs/src/lib/models/graphs/graph_hit_test_policy.ts94 graph_view.edge_view.model.data_source.inspect.emit([graph_view.edge_view.model, {geometry}])
CRITICALbokehjs/src/lib/models/graphs/graph_hit_test_policy.ts142 graph_view.node_view.model.data_source.inspect.emit([graph_view.node_view.model, {geometry}])
CRITICALbokehjs/src/lib/models/graphs/graph_hit_test_policy.ts221 const node_inspection = graph_view.node_view.model.data_source.selection_manager.get_or_create_inspector(graph_view.
CRITICALbokehjs/src/lib/models/graphs/graph_hit_test_policy.ts225 const edge_inspection = graph_view.edge_view.model.data_source.selection_manager.get_or_create_inspector(graph_view.
CRITICALbokehjs/src/lib/models/graphs/graph_hit_test_policy.ts231 graph_view.node_view.model.data_source.inspect.emit([graph_view.node_view.model, {geometry}])
CRITICALbokehjs/src/lib/models/graphs/graph_hit_test_policy.ts301 const edge_inspection = graph_view.edge_view.model.data_source.selection_manager.get_or_create_inspector(graph_view.
CRITICALbokehjs/src/lib/models/graphs/graph_hit_test_policy.ts305 const node_inspection = graph_view.node_view.model.data_source.selection_manager.get_or_create_inspector(graph_view.
CRITICALbokehjs/src/lib/models/graphs/graph_hit_test_policy.ts311 graph_view.edge_view.model.data_source.inspect.emit([graph_view.edge_view.model, {geometry}])
CRITICALbokehjs/src/lib/models/graphs/graph_hit_test_policy.ts394 const node_inspection = graph_view.node_view.model.data_source.selection_manager.get_or_create_inspector(graph_view.
CRITICALbokehjs/src/lib/models/graphs/graph_hit_test_policy.ts404 graph_view.node_view.model.data_source.inspect.emit([graph_view.node_view.model, {geometry}])
Excessive Try-Catch Wrapping52 hits · 51 pts
SeverityFileLineSnippet
LOWsetup.py130 except Exception:
LOW…ts/unit/bokeh/core/property/test_wrappers__property.py534 except Exception:
LOW…ts/unit/bokeh/core/property/test_wrappers__property.py539 except Exception:
LOWtests/unit/bokeh/model/test_model.py228 except Exception:
MEDIUMtests/unit/bokeh/command/subcommands/test_serve.py434 print("An error occurred: %s", e)
LOWtests/unit/bokeh/command/subcommands/test_serve.py431 except Exception as e:
LOWtests/unit/bokeh/command/subcommands/test_serve.py439 except Exception:
LOWtests/unit/bokeh/command/subcommands/test_serve.py532 except Exception:
LOWtests/support/util/filesystem.py67 except Exception as e:
LOWrelease/build.py169 except Exception as e:
LOWrelease/credentials.py57 except Exception as e:
LOWrelease/remote.py72 except Exception as e:
LOWexamples/server/app/taylor.py51 except Exception as exception:
MEDIUMexamples/server/app/taylor.py48def update():
LOWexamples/server/app/server_auth/auth.py30 except Exception:
MEDIUMexamples/server/app/server_auth/auth.py27def get(self):
LOWexamples/server/app/spectrogram/audio.py37 except Exception:
LOWsrc/bokeh/settings.py246 except Exception:
LOWsrc/bokeh/settings.py939 except Exception:
LOWsrc/bokeh/settings.py919 except Exception:
LOWsrc/bokeh/resources.py162 except Exception as e:
LOWsrc/bokeh/core/property/datetime.py77 except Exception:
LOWsrc/bokeh/core/property/datetime.py117 except Exception:
LOWsrc/bokeh/sphinxext/bokeh_plot.py171 except Exception as e:
LOWsrc/bokeh/sphinxext/bokeh_plot.py229 except Exception as e:
LOWsrc/bokeh/sphinxext/_internal/bokeh_palette.py126 except Exception as e:
LOWsrc/bokeh/util/browser.py128 except Exception:
LOWsrc/bokeh/util/info.py72 except Exception:
LOWsrc/bokeh/util/dependencies.py62 except Exception:
LOWsrc/bokeh/io/export.py440 except Exception:
LOWsrc/bokeh/io/notebook.py114 except Exception as e:
LOWsrc/bokeh/io/notebook.py394 except Exception as e:
LOWsrc/bokeh/io/webdriver.py140 except Exception:
LOWsrc/bokeh/io/webdriver.py146 except Exception:
LOWsrc/bokeh/server/protocol_handler.py95 except Exception as e:
LOWsrc/bokeh/server/server.py465 except Exception:
MEDIUMsrc/bokeh/server/contexts.py187def run_load_hook(self) -> None:
MEDIUMsrc/bokeh/server/contexts.py193def run_unload_hook(self) -> None:
LOWsrc/bokeh/server/contexts.py190 except Exception as e:
LOWsrc/bokeh/server/contexts.py196 except Exception as e:
LOWsrc/bokeh/server/contexts.py237 except Exception as e:
LOWsrc/bokeh/server/contexts.py296 except Exception as e:
LOWsrc/bokeh/server/views/ws.py159 except Exception as e:
LOWsrc/bokeh/server/views/ws.py244 except Exception as e:
LOWsrc/bokeh/server/views/ws.py258 except Exception as e:
LOWsrc/bokeh/models/plots.py977 except Exception:
LOWsrc/bokeh/command/bootstrap.py114 except Exception as e:
LOWsrc/bokeh/application/handlers/code_runner.py238 except Exception as e:
LOWsrc/bokeh/application/handlers/document_lifecycle.py70 except Exception as e:
LOWsrc/bokeh/application/handlers/function.py144 except Exception as e:
LOWsrc/bokeh/client/connection.py291 except Exception as e:
LOWsrc/bokeh/client/connection.py343 except Exception as e:
Deep Nesting63 hits · 46 pts
SeverityFileLineSnippet
LOWtests/test_examples.py177
LOWtests/unit/bokeh/test_events.py63
LOWtests/unit/bokeh/command/subcommands/test_serve.py512
LOWtests/support/util/filesystem.py79
LOWtests/support/util/examples.py152
LOWtests/support/util/compare.py47
LOWrelease/build.py177
LOWrelease/remote.py34
LOWrelease/checks.py111
LOWexamples/server/app/image_blur.py33
LOWexamples/server/app/ohlc/main.py67
LOWscripts/milestone.py284
LOWsrc/bokeh/layouts.py223
LOWsrc/bokeh/layouts.py416
LOWsrc/bokeh/layouts.py609
LOWsrc/bokeh/layouts.py684
LOWsrc/bokeh/layouts.py486
LOWsrc/bokeh/layouts.py501
LOWsrc/bokeh/core/query.py107
LOWsrc/bokeh/core/has_props.py620
LOWsrc/bokeh/core/serialization.py268
LOWsrc/bokeh/core/property/descriptors.py777
LOWsrc/bokeh/core/property/wrappers.py447
LOWsrc/bokeh/core/property/wrappers.py520
LOWsrc/bokeh/core/property/struct.py87
LOWsrc/bokeh/core/property/bases.py339
LOWsrc/bokeh/sphinxext/_internal/bokeh_sampledata_xref.py123
LOWsrc/bokeh/sphinxext/_internal/bokeh_sampledata_xref.py165
LOWsrc/bokeh/sphinxext/_internal/bokeh_example_metadata.py114
LOWsrc/bokeh/embed/bundle.py144
LOWsrc/bokeh/embed/bundle.py217
LOWsrc/bokeh/embed/bundle.py266
LOWsrc/bokeh/embed/bundle.py134
LOWsrc/bokeh/embed/util.py82
LOWsrc/bokeh/util/package.py42
LOWsrc/bokeh/util/compiler.py500
LOWsrc/bokeh/util/compiler.py518
LOWsrc/bokeh/util/tornado.py194
LOWsrc/bokeh/util/serialization.py223
LOWsrc/bokeh/server/util.py103
LOWsrc/bokeh/server/session.py71
LOWsrc/bokeh/server/session.py78
LOWsrc/bokeh/server/tornado.py251
LOWsrc/bokeh/server/callbacks.py206
LOWsrc/bokeh/models/sources.py231
LOWsrc/bokeh/models/sources.py512
LOWsrc/bokeh/models/sources.py631
LOWsrc/bokeh/models/plots.py1000
LOWsrc/bokeh/models/plots.py392
LOWsrc/bokeh/models/plots.py475
LOWsrc/bokeh/models/renderers/glyph_renderer.py167
LOWsrc/bokeh/models/util/structure.py148
LOWsrc/bokeh/plotting/_tools.py168
LOWsrc/bokeh/plotting/_tools.py199
LOWsrc/bokeh/plotting/_renderer.py150
LOWsrc/bokeh/plotting/_renderer.py283
LOWsrc/bokeh/plotting/_plot.py83
LOWsrc/bokeh/plotting/_plot.py152
LOWsrc/bokeh/model/util.py191
LOWsrc/bokeh/command/util.py76
3 more matches not shown…
AI Slop Vocabulary9 hits · 22 pts
SeverityFileLineSnippet
MEDIUMtests/examples.yaml28 "spectrogram", # Custom models not working in CI test harness
MEDIUM…s/src/lib/models/formatters/datetime_tick_formatter.ts321 // For repeating labels only utilize the first entry
MEDIUM…/src/lib/models/formatters/timedelta_tick_formatter.ts294 // For repeating labels only utilize the first entry
MEDIUM.github/workflows/bokeh-ci.yml246 # and included examples can utilize newest available syntax and standard APIs.
MEDIUM.github/workflows/bokeh-ci-full.yml18 cancel-in-progress: false # Don't cancel comprehensive tests
MEDIUM.github/workflows/bokeh-ci-full.yml264 # and included examples can utilize newest available syntax and standard APIs.
LOWsrc/bokeh/sphinxext/_internal/util.py42 # if BOKEH_DOCS_CDN is unset just use default CDN resources
LOWsrc/bokeh/sphinxext/_internal/bokeh_example_metadata.py134 # just use class role as-is for anything else
LOWsrc/bokeh/embed/util.py165 # we are using all the roots of a single doc, just use doc as-is
Self-Referential Comments2 hits · 8 pts
SeverityFileLineSnippet
MEDIUMtests/unit/bokeh/test_typing.py10# This file is meant only for type-checking with mypy. Thus "test" functions
MEDIUMexamples/models/dateaxis.py15# Create an array of synthetic times, starting at the current time, and extending 24hrs
Fake / Example Data4 hits · 6 pts
SeverityFileLineSnippet
LOWexamples/server/app/faces/templates/index.html28 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dol
LOWexamples/server/app/faces/templates/index.html28 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dol
LOWexamples/server/app/faces/templates/index.html31 Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam re
LOWexamples/server/app/faces/templates/index.html31 Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam re
Overly Generic Function Names5 hits · 4 pts
SeverityFileLineSnippet
LOWtests/support/plugins/bokeh_server.py83 def helper() -> Any:
LOWtests/support/plugins/jupyter_notebook.py148 def helper() -> Any:
LOWexamples/server/app/gapminder/data.py4def process_data():
LOWscripts/milestone.py89 def helper(cursor=None):
LOWscripts/milestone.py205 def helper(kind, cursor=None):
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippet
LOWexamples/interaction/tools/toolbar_autohide.py17# Set autohide to true to only show the toolbar when mouse is over plot
LOW.github/workflows/bokeh-ci-full.yml357 # Check if any dependency jobs were cancelled