Skip to main content
Back to top
Ctrl
+
K
treescope
Getting Started
Getting Started: Pretty-Printing With Treescope
Visualizing Arrays with Treescope
Building Custom Visualizations
API Reference
treescope
show
display
render_array
basic_interactive_setup
register_as_default
register_autovisualize_magic
register_context_manager_magic
ArrayAutovisualizer
Autovisualizer
IPythonVisualization
ChildAutovisualizer
VisualizationFromTreescopePart
default_diverging_colormap
default_sequential_colormap
active_autovisualizer
active_renderer
default_magic_autovisualizer
active_expansion_strategy
render_to_html
render_to_text
integer_digitbox
render_array_sharding
using_expansion_strategy
treescope.canonical_aliases
CanonicalAliasEnvironment
LocalNamePath
ModuleAttributePath
add_alias
default_well_known_filter
lookup_alias
maybe_local_module_name
populate_from_public_api
prefix_filter
relative_alias_names
treescope.context
ContextualValue
treescope.dataclass_util
dataclass_from_attributes
init_takes_fields
treescope.figures
bolded
figure_from_treescope_rendering_part
indented
inline
styled
text_on_color
treescope_part_from_display_object
with_color
with_font_size
treescope.formatting_util
color_from_string
oklch_color
parse_simple_color_and_pattern_spec
treescope.handlers
use_autovisualizer_if_present
handle_basic_types
replace_with_canonical_aliases
handle_via_global_registry
handle_via_treescope_repr_method
handle_code_objects_with_reflection
handle_arbitrary_pytrees
handle_anything_with_repr
append_repr_html_when_present
check_for_shared_values
setup_shared_value_context
treescope.lowering
collecting_deferred_renderings
display_streaming_as_root
maybe_defer_rendering
render_to_html_as_root
render_to_text_as_root
treescope.ndarray_adapters
NDArrayAdapter
NamedPositionalAxisInfo
NamedPositionlessAxisInfo
PositionalAxisInfo
ShardingInfo
treescope.renderers
TreescopeCustomWrapperHook
TreescopeNodeHandler
TreescopeRenderer
TreescopeSubtreeRenderer
treescope.rendering_parts
RenderableTreePart
RenderableAndLineAnnotations
ExpandState
NodePath
build_full_line_with_annotations
empty_part
floating_annotation_with_separate_focus
fold_condition
in_outlined_box
indented_children
on_separate_lines
roundtrip_condition
siblings_with_annotations
siblings
summarizable_condition
text
vertical_space
with_layout_mark
build_copy_button
build_custom_foldable_tree_node
build_foldable_tree_node_from_children
build_one_line_tree_node
maybe_qualified_type_name
abbreviation_color
comment_color_when_expanded
comment_color
custom_text_color
deferred_placeholder_style
error_color
qualified_type_name_style
custom_style
build_field_children
render_dataclass_constructor
embedded_iframe
treescope.repr_lib
render_dictionary_wrapper
render_enumlike_item
render_object_constructor
treescope.type_registries
lookup_immutability_for_type
lookup_ndarray_adapter
lookup_treescope_handler_for_type
update_registries_for_imports
NDARRAY_ADAPTER_REGISTRY
TREESCOPE_HANDLER_REGISTRY
VIRTUAL_BASE_CLASSES
IMMUTABLE_TYPES_REGISTRY
Repository
Open issue
.rst
.pdf
empty_part
Contents
empty_part()
empty_part
#
treescope.rendering_parts.
empty_part
(
)
→
EmptyPart
[source]
#
Returns an empty part.
Contents
empty_part()