Examples

This section contains links to example notebooks that demonstrate how to use Syd.

Notebook

Run in Colab

Description

What will you learn?

Basic Tutorial

colab1

A good starting point with detailed explanations of how to use the core elements of Syd.

How to create basic interactive plots, add different parameter types, and understand the fundamental concepts of Syd.

Comprehensive Example

colab2a

Showcases just about everything you can do with Syd.

Advanced parameter usage, complex plotting scenarios, and how to leverage Syd’s full feature set.

Making a Viewer Class

colab2b

Rewrites the comprehensive example as a class, which is useful for complex data processing or callbacks.

How to structure a Syd viewer as a class, manage complex state, and organize your code more effectively.

Data Loading

colab3

Showcases different ways to get your data into a Syd viewer.

Various methods for loading and managing data in your Syd viewer, from simple variables to complex datasets.

Hierarchical Callbacks

colab4

Demonstrates how to handle complicated callback situations with nested dependencies.

How to manage complex state dependencies and create cascading updates in your interactive visualizations.

Interactive plots with Seaborn

colab5

Demonstrates building interactive plots along with Seaborn.

How to use Syd to build interactive plots and use Seaborn for fancy plotting.

Histology Viewer

colab6

Histology viewer with Syd

How to use Syd to create a histology viewer for viewing histology slides on the fly.

Image Labeler

colab7

Image labeler with Syd

How to use Syd to create an image labeler for annotating images (like ROIs).