Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

canvasxpress

Latest version: v2026.11.29.1339661

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
PyPI package Publisher: docinfosci
8 Stars
2 Forks
14 Versions
1.4K Downloads
Python Repo language

Scan summary

canvasxpress was last scanned on 29 Nov 2026 at version 2026.11.29.1339661. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 14 versions; the latest 4 were published within 6 days (24–29 Nov 2026).
  • Findings: No rules fired in version 2026.11.29.1339661.
  • Downloads: 1,360 downloads.

Versions

14 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2026.11.29.1339661 LATEST 29 Nov 2026 No rules fired
2026.11.25.32843846 25 Nov 2026 No rules fired
2026.11.24.163159221 24 Nov 2026 No rules fired
2026.11.24.14835520 24 Nov 2026 Not shown
2026.11.22.1226973 22 Nov 2026 Not shown

No rules fired in 2026.11.29.1339661

Findings

Findings for v2026.11.29.1339661. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 2026.11.29.1339661; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

CanvasXpress is a comprehensive visualization library developed by Dr. Isaac Neuhaus for bioinformatics and systems biology analysis at Bristol-Myers Squibb. It supports more than 30 chart types to display scientific and non-scientific data, with a sophisticated user interface for exploring complex datasets, reproducible research auditing, and broadcasting capabilities to synchronize data points across plots.

Project Status

Release Python 3.8+ License: MIT

Dash Shiny Streamlit Jupyter Flask FastAPI RStudio Browser

Claude Qwen OpenCode OpenAI Cursor Gemini

JSON PNG SVG HTML

Authors & Contributors

Role Name
Platform Designer & Package Development Lead Dr. Isaac Neuhaus
Python Package Author & Maintainer Dr. Todd C. Brett
R Package Author & Maintainer Dr. Constance M. Brett
Contributors Dr. Jennifer Walker · Eng. Mennahtullah Mabrouk · Eng. Mohamed Ali
Quick Start

Create your first chart in five lines:

from canvasxpress.canvas import CanvasXpress
from canvasxpress.plot import show_in_browser

chart = CanvasXpress(
    data={"y": {"data": [[10, 20, 30]], "vars": ["A"]}},
    config={"graphType": "Bar"}
)
show_in_browser(chart)

In Jupyter, Dash, Shiny, and Streamlit use graph(chart) from canvasxpress.plot instead; it renders the chart in the way each framework expects. In a notebook, a CanvasXpress object that is the last line of a cell renders on its own with the same HTML and JavaScript; use graph(chart) for multiple charts, fill_to_width, or a saved page.

What's New: Modernized Streamlit and Dash Support

Deprecation warning: Support for CXGraphType and CXGraphTypeOptions ends January 2027. Migrate chart type declarations to the str values recognized by the CanvasXpress JavaScript library, as listed on the canvasxpress.org home page, and pass them directly as the graphType config value, for example config={"graphType": "Bar"}. Both classes remain fully functional until support ends, but their use now emits a DeprecationWarning and a WARNING entry on the canvasxpress-python logger.

Both integrations are drop-in: existing graph() calls work unchanged.

Streamlit — With Streamlit releases that provide Custom Components v2 (st.components.v2), charts render directly in the app page instead of in iframes. Charts size to their content, share a single copy of the CanvasXpress library, and charts with the same data broadcast to each other. Older Streamlit releases, such as those available for Python 3.8, keep the iframe rendering with the same app code. graph() also accepts an optional Streamlit element key. See A Streamlit Example below.

Plotly Dash — The Dash component is now built into the package: pip install "canvasxpress[dash]" is all that is needed, with no separate component package or JavaScript build. graph() returns a CXDashElement backed by a CanvasXpress React wrapper that ships with the package and is served by Dash. It works with current Dash releases on Python 3.8 and later, graph() detects a running Dash app without needing CANVASXPRESS_TARGET_CONTEXT, and charts with the same data broadcast to each other. See A Dash Example below.

CanvasXpress AI Skills

The CanvasXpress Python package ships with built-in AI agent skills (canvasxpress_charts, canvasxpress_events, canvasxpress_notebooks, canvasxpress_validator) that enable coding assistants — Claude, Cursor, OpenCode, Qwen, OpenAI, Gemini, and others — to generate production-ready visualization code. Upon installation, the skills are automatically distributed to standard agent directories (~/.agents/, ~/.config/opencode/skills/, ~/.claude/skills/).

  • Generate charts from natural language — Describe your data and desired visualization in plain English; the agent produces complete, validated CanvasXpress Python code
  • Convert from Plotly/Matplotlib — Paste existing Plotly or Matplotlib code and get the CanvasXpress equivalent with proper data reshaping
  • Multi-chart dashboards — Create coordinated dashboards with automatic broadcasting, where clicking data points in one chart highlights corresponding points in others
  • Advanced metadata visualizations — Build heatmaps with sample/variable annotations, DOTplots with overlays, network graphs, Venn diagrams, and more
  • Interactive charts with events — Add click handlers, hover tooltips, selection callbacks, and Shiny/Streamlit integrations using canvasxpress_events
  • Highlighting & storytelling — Create charts that emphasize specific data points using ghost/focus modes, predicates, and custom emphasis colors
  • Custom styling — Control colors, fonts, dimensions, orientations, and chart-type-specific styling
  • Export to images/JSON — Convert charts to PNG, PDF, or reproducible JSON for sharing and archival
  • Jupyter notebook creation — Generate complete Jupyter notebooks with CanvasXpress charts using canvasxpress_notebooks
  • Code validation — Validate generated code for syntax correctness using canvasxpress_validator
  • Framework-agnostic rendering — Works in Jupyter, Dash, Shiny, Streamlit, Flask, and plain Python scripts

Simple Charts: "Create a vertical bar chart showing monthly sales (Jan–May: 120, 150, 180, 200, 250). Title it 'Monthly Sales', label axes, and make it 600×500 pixels."

Heatmaps & Annotations: "Create a heatmap of gene expression data with 3 genes and 3 samples. Add sample annotations for Treatment (Control/Treatment) and Batch (A/B). Use a diverging color scheme and show the annotation legend."

Scatter Plots & Highlighting: "Create a scatter plot of Height vs Weight with 6 individuals. Add a regression line, highlight two individuals in blue using focus mode, and add histograms on the margins."

Multi-Chart Dashboards: "Create a dashboard with three coordinated charts: a scatter plot, a bar chart, and a heatmap. Clicking a data point in any chart should highlight corresponding data in all others via automatic broadcasting."

Conversions: "Convert this Plotly code to CanvasXpress: go.Figure(data=go.Bar(x=['A','B','C'], y=[10,20,30])) with title 'My Chart'."

Advanced Charts: "Create a Venn diagram with 3 sets and their pairwise and triple intersections. Include custom legend labels." / "Build a network graph with 5 nodes and 7 edges. Color nodes by metadata category, label nodes, and use force-directed layout."

Manual Reinstallation

To manually reinstall or update the skills, use the CanvasXpress CLI:

canvasxpress --force

Available targets: opencode, claude, agents, all (default), or both (opencode + agents).

For detailed documentation on each skill, refer to the respective SKILL.md files in your agent's skill directory.

Install Profiles

Install the base package with pip install canvasxpress or uv add canvasxpress. For specific frameworks, use extras:

Extra Install
core pip install "canvasxpress[core]" — base package, CLI, browser
jupyter pip install "canvasxpress[jupyter]" — Jupyter, Quarto, IPython
dash pip install "canvasxpress[dash]" — Plotly Dash; the Dash component is built in, no JavaScript build needed
streamlit pip install "canvasxpress[streamlit]" — Streamlit; renders in the app page with st.components.v2
shiny pip install "canvasxpress[shiny]" — Shiny for Python
rstudio pip install "canvasxpress[rstudio]" — RStudio IDE Viewer (includes jupyter + shiny)
all pip install "canvasxpress[all]" — all frameworks

Usage

This section provides general instructions on creating and customizing charts.

Drawing Charts

The CanvasXpress object defines what a chart should contain and how it should be formatted, but rendering the chart is performed by the functions graph() and show_in_browser().

To use graph() import it from canvasxpress.plot and then call it by passing a CanvasXpress object. For example, a Quarto, RMD, or Jupyter Notebook code chunk could be:

from random import random

from canvasxpress.canvas import CanvasXpress
from canvasxpress.plot import graph

graph(
    CanvasXpress(
        data={
            "y": {
                "data": [
                    [random() % 100 for i in range(20)]
                ],
                "vars": ["A"],
            }
        },
        config={
            "background": "rgb(255,255,255)",
            "colorScheme": "CanvasXpress",
            "graphOrientation": "vertical",
            "graphType": "Area",
            "objectBorderColor": False,
            "plotBox": False,
            "plotBoxColor": "rgb(204,204,204)",
            "showLegend": False,
            "showLegendBorder": True,
            "smpLabelRotate": 90,
            "smpTitle": "time",
            "xAxis": ["A"],
            "xAxisTickRightShow": False,
            "yAxisTickTopShow": False
        },
        width=609,
        height=609
    )
)

Some application frameworks, such as Shiny for Python and Plotly Dash, expect an object to be rendered to the framework as part of the reactive flow. In these contexts, the graph() function creates an appropriate object and returns it. That value can be assigned to a variable to be returned at a later point in the code, or be immediately returned. See the Shiny for Python and Dash examples for specific usage.

show_in_browser() is similar to graph() except that it opens a browser window on the local system and displays the chart. It's used to facilitate learning and debugging.

Arranging Multiple Charts and Producing HTML

The browser, Jupyter, and RStudio renderers accept several charts at once and arrange them in a grid, in the order given, with columns charts per row. Charts that share a render_to ID are displayed under unique IDs, and the CanvasXpress objects passed in are not changed. For example:

from canvasxpress.render.popup import CXBrowserPopup

CXBrowserPopup(chart1, chart2, chart3).render(columns=2)

The browser page is saved in a canvasxpress-python-<user> folder in the system temporary directory, never in the package, and is named after its charts: chart1_chart2_chart3.html for the example above, or anonymous.html for a chart without a render_to ID. Showing the same charts again replaces their page, so files do not accumulate. The Jupyter and RStudio renderers use the same names when output_file is a directory.

Every renderer builds its HTML through canvasxpress.render.context, which can also be used directly, for example to serve charts from a Web framework or to save them as a standalone page:

from canvasxpress.render.context import CXHtmlDocument, LIBRARY_TAGS

document = CXHtmlDocument([chart1, chart2], columns=2, title="My Charts")

page = document.page()                   # A complete HTML page
snippet = document.fragment(LIBRARY_TAGS)  # Charts plus the tags that load CanvasXpress

fragment() can also leave the CanvasXpress library to the page (LIBRARY_NONE), or load it on demand with JavaScript (LIBRARY_LOADER) for HTML inserted into a page that is already displayed.

Charts That Fill Their Container

A CanvasXpress chart is drawn at a fixed size in pixels. In live Python frameworks a chart often sits in a container whose size changes: a Streamlit or Dash column, a Shiny card, a notebook output area, the RStudio viewer pane, or the browser window, any of which can change when the window resizes or a sidebar or expander opens. Two options of graph(), both off by default, size the chart to its container instead and redraw it whenever that container is resized:

  • fill_to_width=True: the chart takes the width of its container.
  • fill_to_height=True: the chart takes the height of its container.
from canvasxpress.plot import graph

graph(chart, fill_to_width=True)                       # Width follows the container
graph(chart, fill_to_width=True, fill_to_height=True)  # Width and height follow it

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases canvasxpress

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229