{
 "kind": "tool",
 "slug": "plotly",
 "path": "tools/plotly/",
 "name": "Plotly",
 "maker": null,
 "density": "profile",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Charts and data visualisation",
   "tools/charts/"
  ]
 ],
 "lead": "Interactive data visualization library for Python with rich chart and dashboard support.",
 "chips": [
  {
   "label": "Charts and data visualisation",
   "path": "tools/charts/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install plotly"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/plotly/plotly.py"
  },
  {
   "label": "Website",
   "href": "https://plotly.com/python/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI license expression.",
   "src": "https://github.com/plotly/plotly.py"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 23, 2026",
   "note": "Latest GitHub release Sep 15, 2026. ",
   "src": "https://github.com/plotly/plotly.py"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "56 projects",
   "status": "info",
   "sub": "#7 of 95 in its category",
   "note": "Dependency in 56 public GitHub projects set up for AI coding agents that we scanned (0.9%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Docs for agents",
   "status": "yes",
   "sub": "llms.txt",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": "https://plotly.com/llms.txt"
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Plotly does",
   "parts": [
    {
     "t": "prose",
     "text": "plotly.py is a Python front end to the plotly.js browser library, so one figure object can be shown in a Jupyter or marimo notebook, saved as a standalone HTML file, or placed inside a Dash app."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Plotly popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "73",
       "of": "/ 100",
       "l": "Gid Score, #261 overall"
      },
      {
       "n": "15.2M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "18.9K",
       "l": "GitHub stars"
      },
      {
       "n": "56",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Plotly is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Plotly is a dependency in 56 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (3.5% of the 1,623 Python ones), #7 of 95 in charts and data visualisation.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 550; those are left out of every share on this page.",
      "The most used alternative in our scan is Matplotlib (167 projects).",
      "Projects that use it most often also use pandas (87.5%), NumPy (78.6%), python-dotenv (62.5%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "32 projects, 1.1%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "30 projects, 0.9%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "15 projects, 0.6%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "5 projects, 1.1%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 87.5% of its projects",
       "v": "pandas",
       "path": "tools/pandas/"
      },
      {
       "l": "In 78.6% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      },
      {
       "l": "In 62.5% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 53.6% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 51.8% of its projects",
       "v": "scikit-learn",
       "path": "tools/scikit-learn/"
      },
      {
       "l": "In 48.2% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 42.9% of its projects",
       "v": "pytest",
       "path": "tools/pytest/"
      },
      {
       "l": "In 41.1% of its projects",
       "v": "Matplotlib",
       "path": "tools/matplotlib/"
      }
     ]
    }
   ]
  },
  {
   "id": "profile",
   "nav": "Profile",
   "h2": "Plotly in practice",
   "parts": [
    {
     "t": "h3",
     "text": "Strengths"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "Two APIs for the same chart",
       "v": "The README quickstart builds one bar chart twice. Plotly Express does it in a single <code>px.bar(...)</code> call. Graph Objects creates a <code>go.Figure()</code> and adds a <code>go.Bar</code> trace to it."
      },
      {
       "l": "Notebook, HTML file or Dash app",
       "v": "The README lists four places a Plotly graph can be viewed: Jupyter notebooks, other notebook tools such as marimo, standalone HTML files, and Dash applications."
      },
      {
       "l": "Tutorials reach into biology, finance and ML",
       "v": "Beyond basic charts, the docs site has tutorials for candlestick and OHLC charts, tile choropleth maps, ROC and PR curves, PCA, and 3D surfaces. It also covers computational biology charts such as volcano plots, Manhattan plots and clustergrams."
      },
      {
       "l": "Controls and click events inside the figure",
       "v": "The docs site has tutorials for \"building interactive UI controls directly into your visualizations\": dropdown menus, custom buttons, sliders and range selectors. Separate tutorials cover animations and FigureWidget click events in Jupyter."
      }
     ]
    },
    {
     "t": "h3",
     "text": "Watch out for"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "Static images need Chrome or Chromium",
       "v": "Static image export uses <code>kaleido</code> (version 1.0 or greater), and Kaleido needs a Chrome or Chromium install on the machine. If Kaleido can't find one, the README says you may need to run <code>plotly_get_chrome</code>."
      },
      {
       "l": "Express wants an extra and a dataframe library",
       "v": "The README's Express quickstart uses <code>pip install plotly[express]</code>. It adds that you'll also need to install a supported dataframe library yourself."
      },
      {
       "l": "Jupyter widgets need two more packages",
       "v": "To use figures as Jupyter widgets, you have to install <code>jupyter</code> and <code>anywidget</code> separately, with pip or conda."
      }
     ]
    },
    {
     "t": "h3",
     "text": "The same bar chart with Graph Objects and Plotly Express"
    },
    {
     "t": "tabs",
     "label": "Example",
     "items": [
      {
       "tab": "Python",
       "code": "import plotly.graph_objects as go\nfig = go.Figure()\nfig.add_trace(go.Bar(x=[\"a\", \"b\", \"c\"], y=[1, 3, 2]))\nfig.show()\n\nimport plotly.express as px\nfig = px.bar(x=[\"a\", \"b\", \"c\"], y=[1, 3, 2])\nfig.show()"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "profile",
   "h2": "More about Plotly",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/plotly",
        "Own page: https://plot.ly/products/consulting-and-oem/",
        "3 GitHub sponsors"
       ]
      },
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        "plotly: Plotly interactive visualization. Express and Graph Objects: scatter, line, bar, heatmap, 3D, geographic charts; subplots; styling; export."
       ]
      },
      {
       "title": "Head to head",
       "items": [
        {
         "text": "Matplotlib vs Plotly",
         "note": "used together in 23 projects",
         "path": "tools/compare/matplotlib-vs-plotly/"
        },
        {
         "text": "Seaborn vs Plotly",
         "note": "used together in 16 projects",
         "path": "tools/compare/seaborn-vs-plotly/"
        }
       ]
      },
      {
       "title": "Packages around it",
       "items": [
        "pandas: DataFrames",
        "numpy: Numeric arrays",
        "python-dotenv: .env config loading",
        "requests: HTTP client",
        "scikit-learn: Machine learning",
        "pydantic: Data validation"
       ]
      },
      {
       "title": "More in Charts and data visualisation",
       "path": "tools/charts/",
       "items": [
        {
         "text": "Recharts",
         "path": "tools/recharts/"
        },
        {
         "text": "Chart.js",
         "path": "tools/chart-js/"
        },
        {
         "text": "Mermaid",
         "path": "tools/mermaid/"
        },
        {
         "text": "XY Flow",
         "path": "tools/xyflow/"
        },
        {
         "text": "React Chart.js 2",
         "path": "tools/react-chartjs-2/"
        },
        {
         "text": "D3.js",
         "path": "tools/d3/"
        },
        {
         "text": "Diagrams",
         "path": "tools/diagrams/"
        },
        {
         "text": "Apache ECharts",
         "path": "tools/echarts/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Plotly",
       "me": true,
       "facts": [
        "MIT",
        "Gid 73",
        "15.2M/wk"
       ]
      },
      {
       "name": "Matplotlib",
       "why": "Python library for creating static, animated and interactive plots and visualizations.",
       "path": "tools/matplotlib/",
       "facts": [
        "PSF-2.0",
        "Gid 82",
        "51.4M/wk"
       ]
      },
      {
       "name": "Seaborn",
       "why": "Statistical data visualization library built on matplotlib with rich plot types.",
       "path": "tools/seaborn/",
       "facts": [
        "BSD",
        "Gid 70",
        "7.3M/wk"
       ]
      },
      {
       "name": "Bokeh",
       "why": "Create interactive plots and applications in the browser from Python code.",
       "path": "tools/bokeh/",
       "facts": [
        "BSD-3-Clause",
        "Gid 59",
        "1.3M/wk"
       ]
      },
      {
       "name": "plotnine",
       "why": "Grammar of Graphics implementation for Python inspired by ggplot2.",
       "path": "tools/plotnine/",
       "facts": [
        "MIT",
        "Gid 41",
        "359K/wk"
       ]
      }
     ],
     "more": "Compare Plotly with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install plotly"
    },
    {
     "t": "h3",
     "text": "Rules for your agent"
    },
    {
     "t": "rules",
     "label": "Paste into AGENTS.md or CLAUDE.md",
     "text": "## Plotly\n- For Graph Objects, install with `pip install plotly`, import `plotly.graph_objects as go`, create `go.Figure()`, then call `add_trace(...)` and `fig.show()`.\n- For Plotly Express, follow the README quickstart: `pip install plotly[express]`, plus a supported dataframe library.\n- For static image export, install `kaleido` version 1.0 or greater. It needs Chrome or Chromium; if Kaleido can't find it, run `plotly_get_chrome`.\n- To use figures as Jupyter widgets, also install `jupyter` and `anywidget`.\n- If `px.bar` picks the wrong orientation on pandas `uint8` to `uint64` columns, check the version: v7.1.0 lists a fix for Express treating them as categorical.\n- If `Figure.show()` renders a too-large div in Google Colab, check the version: v7.1.0 lists a fix for this.\n"
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi plotly"
  ],
  [
   "Category",
   "Charts and data visualisation"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Latest version",
   "v7.1.0, September 15, 2026"
  ],
  [
   "On GitHub since",
   "November 2013"
  ],
  [
   "Gid Score",
   "73.3"
  ],
  [
   "Rank in category",
   "#7 of 95"
  ],
  [
   "GitHub",
   "plotly/plotly.py"
  ],
  [
   "Last change",
   "Nov 23, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/plotly.png"
}