Scan your whole stack
Are you using canvasxpress?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v2026.11.29.1339661
canvasxpress was last scanned on 29 Nov 2026 at version 2026.11.29.1339661. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
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.
| 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 |
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.
Deprecation warning: Support for
CXGraphTypeandCXGraphTypeOptionsends January 2027. Migrate chart type declarations to thestrvalues recognized by the CanvasXpress JavaScript library, as listed on the canvasxpress.org home page, and pass them directly as thegraphTypeconfig value, for exampleconfig={"graphType": "Bar"}. Both classes remain fully functional until support ends, but their use now emits aDeprecationWarningand aWARNINGentry on thecanvasxpress-pythonlogger.
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.
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/).
canvasxpress_eventscanvasxpress_notebookscanvasxpress_validatorSimple 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."
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 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 |
This section provides general instructions on creating and customizing 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.
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.
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 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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.