Skip to main content

sphinx_panel_screenshot

PyPI version Conda (channel only) Documentation Status

A Sphinx directive for including the screenshot of an holoviz's panel widget in a Sphinx document.

This package is based on matplotlib's plot directive.

Install

pip install sphinx_panel_screenshot

or:

conda install -c davide_sd sphinx_panel_screenshot 

Take a look at the Installation page to understand how to configure the extension to run on readthedocs.org server.

Usage

.. panel-screenshot::

   floatslider = pn.widgets.FloatSlider(start=0, end=2, value=0.5,
   name="Float Slider")
   radiobutton_group = pn.widgets.RadioButtonGroup(
      name='Radio Button Group', options=['Biology', 'Chemistry', 'Physics'],
      button_type='success')
   radiobox_group = radio_group = pn.widgets.RadioBoxGroup(
      name='RadioBoxGroup', options=['Biology', 'Chemistry', 'Physics'], inline=True)
   select = pn.widgets.Select(name='Select',
      options=['Biology', 'Chemistry', 'Physics'])
   checkbutton_group = pn.widgets.CheckButtonGroup(name='Check Button Group',
      value=['Apple', 'Pear'],
      options=['Apple', 'Banana', 'Pear', 'Strawberry'])
   checkbox = pn.widgets.Checkbox(name='Checkbox')
   col = pn.Column(floatslider, radiobutton_group, radiobox_group, select, checkbutton_group, checkbox)
   col

Take a look at the Examples page to visualize the available customization options.

Metadata

Release files for sphinx-panel-screenshot 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sphinx-panel-screenshot 0.2.0
File Size Uploaded
sphinx_panel_screenshot-0.2.0.tar.gz 15.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sphinx-panel-screenshot 0.2.0
File Interpreter ABI Platform
sphinx_panel_screenshot-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.8 kB

Release files / sphinx_panel_screenshot-0.2.0.tar.gz

Download URL sphinx_panel_screenshot-0.2.0.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4225aff3f2789358a9a3b0ee584cb1cef87a91ca2644d8389f90cd7cc5a1fc6e
BLAKE2b-256 checksum
How to use checksums
7f84c9598bcf13c8d8dc57128e67ffd7e074ae6aadc59e451ed1a965c71a944a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / sphinx_panel_screenshot-0.2.0-py3-none-any.whl

Download URL sphinx_panel_screenshot-0.2.0-py3-none-any.whl
Size 14.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3bfc7bd66f7c45934480f92a6245bc283323321ee34306c64515c0439463f888
BLAKE2b-256 checksum
How to use checksums
0a41a0919f6275bfa7eef864aa524c81ee57d00c13cf5f62a25f743067296396
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.3

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page