{
  "id": "task_libraries:charting/python",
  "path": "/exapedia/python-charting-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "Python charting libraries",
  "answer": [
    {
      "t": "text",
      "text": "Python charting libraries turn data in lists, arrays, or DataFrames into line, bar, scatter, and other charts. An interactive renderer outputs HTML and JavaScript with zoom and hover instead of a static image. These libraries let analysts, notebooks, and dashboards present data as figures."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "Python charting libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#matplotlib",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F129"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F130"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F131"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#plotly",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F144"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#altair",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F159"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F160"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F163"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#seaborn",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F174"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#bokeh",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F191"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F195"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#plotnine",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F206"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F207"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F215"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F208"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pyqtgraph",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F223"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F232"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F225"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pyecharts",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F236"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F240"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "PyPI"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#matplotlib",
          "label": [
            {
              "t": "fact",
              "fact": "F1"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F2"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Interactive HTML export",
            "PNG export"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#matplotlib",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F129"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F137"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F138"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#plotly",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F144"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#altair",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F159"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#seaborn",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F174"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#bokeh",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F191"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#plotnine",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F206"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F216"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F217"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pyqtgraph",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F223"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F233"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pyecharts",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F236"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F246"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F247"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "matplotlib",
          "name": [
            {
              "t": "fact",
              "fact": "F129"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/matplotlib/matplotlib"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/matplotlib"
            },
            {
              "label": "Docs",
              "href": "https://matplotlib.org"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F12"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F130"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F131"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://matplotlib.org",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F129"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/arviz-devs/arviz",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F142"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def _histplot_mpl_op(values, values2, rotated, ax, hist_kwargs, is_circular):\n    \"\"\"Add a histogram for the data to the axes.\"\"\"\n    bins = hist_kwargs.pop(\"bins\", None)\n\n    if is_circular == \"degrees\":\n        if bins is None:\n            bins = get_bins(values)\n        values = np.deg2rad(values)\n        bins = np.deg2rad(bins)\n\n    elif is_circular:\n        labels = [\n            \"0\",\n            f\"{np.pi/4:.2f}\",\n            f\"{np.pi/2:.2f}\",\n            f\"{3*np.pi/4:.2f}\",\n            f\"{np.pi:.2f}\",\n            f\"{-3*np.pi/4:.2f}\",\n            f\"{-np.pi/2:.2f}\",\n            f\"{-np.pi/4:.2f}\",\n        ]\n\n        ax.set_xticklabels(labels)\n\n    if values2 is not None:\n        raise NotImplementedError(\"Insert hexbin plot here\")\n\n    if bins is None:\n        bins = get_bins(values)\n\n    if values.dtype.kind == \"i\":\n        hist_kwargs.setdefault(\"align\", \"left\")\n    else:\n        hist_kwargs.setdefault(\"align\", \"mid\")\n\n    n, bins, _ = ax.hist(np.asarray(values).flatten(), bins=bins, **hist_kwargs)\n\n    if values.dtype.kind == \"i\":\n        ticks = bins[:-1]\n    else:\n        ticks = (bins[1:] + bins[:-1]) / 2\n\n    if rotated:\n        ax.set_yticks(ticks)\n    elif not is_circular:\n        ax.set_xticks(ticks)\n\n    if is_circular:\n        ax.set_ylim(0, 1.5 * n.max())\n        ax.set_yticklabels([])\n\n    if hist_kwargs.get(\"label\") is not None:\n        ax.legend()\n\n    return ax",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/arviz-devs/arviz/blob/35fa479d617aa82dbe005af12fab6b37146e8c5b/arviz/plots/backends/matplotlib/distplot.py#L124-L178",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F141"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20matplotlib%20to%20render%20charts%2C%20plot%20distributions%20and%20export%20visualizations&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F129"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import matplotlib.pyplot as plt\nplt.plot([1, 2, 3], [1, 4, 9])\nplt.show()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://matplotlib.org/stable/tutorials/pyplot.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "pyplot.html"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F134"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "plotly",
          "name": [
            {
              "t": "fact",
              "fact": "F144"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/plotly/plotly.py"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/plotly"
            },
            {
              "label": "Docs",
              "href": "https://plotly.com/python/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F37"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://plotly.com/python/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F144"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F38"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/gradio-app/gradio",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F157"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def create_pip_plot(libraries, pip_choices):\n    if \"Pip\" not in pip_choices:\n        return gr.Plot(visible=False)\n    output = retrieve_pip_installs(libraries, \"Cumulated\" in pip_choices)\n    df = pd.DataFrame(output).melt(id_vars=\"day\")\n    plot = px.line(df, x=\"day\", y=\"value\", color=\"variable\",\n                   title=\"Pip installs\")\n    plot.update_layout(legend=dict(x=0.5, y=0.99),  title_x=0.5, legend_title_text=\"\")\n    return gr.Plot(value=plot, visible=True)",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/gradio-app/gradio/blob/ec06278ed72e5eb73494a9d171ca851d553dc82a/demo/dashboard/run.py#L9-L17",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F156"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20plotly%20to%20render%20charts%2C%20plot%20distributions%20and%20export%20visualizations&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F144"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import plotly.express as px\nfig = px.bar(x=[\"a\", \"b\", \"c\"], y=[1, 3, 2])\nfig.show()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pypi.org/pypi/plotly/7.1.0/json#info.description",
                  "label": [
                    {
                      "t": "text",
                      "text": "json.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F149"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "altair",
          "name": [
            {
              "t": "fact",
              "fact": "F159"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/vega/altair"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/altair"
            },
            {
              "label": "Docs",
              "href": "https://altair-viz.github.io"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F56"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F160"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://altair-viz.github.io",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F159"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F57"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F58"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F59"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F60"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F61"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F62"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F63"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F64"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/holoviz/panel",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F172"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def _altair_to_dict(obj):\n    import altair as alt\n\n    # The vegafusion transformer makes Altair refuse any other format\n    if alt.data_transformers.active == 'vegafusion':\n        return obj.to_dict(format='vega')\n    return obj.to_dict()",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/holoviz/panel/blob/e5979d3e7bdd5ea76452f8e5ecc69d24c18065ab/panel/pane/vega.py#L174-L180",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F171"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20altair%20to%20render%20charts%2C%20plot%20distributions%20and%20export%20visualizations&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F159"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import altair as alt\nchart = alt.Chart(alt.Data(values=[{\"x\": \"A\", \"y\": 1}, {\"x\": \"B\", \"y\": 3}])).mark_bar().encode(x=\"x:N\", y=\"y:Q\")\nchart.save(\"chart.html\")\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://altair-viz.github.io/getting_started/overview.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "jupyter_chart.html"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F164"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "seaborn",
          "name": [
            {
              "t": "fact",
              "fact": "F174"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/mwaskom/seaborn"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/seaborn"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/project/seaborn/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F181"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/project/seaborn/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F174"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/Data-Centric-AI-Community/fg-data-profiling",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F189"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def missing_heatmap(\n    corr_mat: Any,\n    mask: Any,\n    figsize: Tuple[float, float] = (20, 12),\n    fontsize: float = 16,\n    labels: bool = True,\n    label_rotation: int = 45,\n    cmap: str = \"RdBu\",\n    normalized_cmap: bool = True,\n    cbar: bool = True,\n    ax: matplotlib.axis.Axis = None,\n) -> matplotlib.axis.Axis:\n    \"\"\"\n    Presents a `seaborn` heatmap visualization of missing data correlation.\n    Note that this visualization has no special support for large datasets.\n\n    Inspired by https://github.com/ResidentMario/missingno\n\n    Args:\n        corr_mat: correlation matrix.\n        mask: Upper-triangle mask.\n        figsize: The size of the figure to display. Defaults to (20, 12).\n        fontsize: The figure's font size.\n        labels: Whether or not to label each matrix entry with its correlation (default is True).\n        label_rotation: What angle to rotate the text labels to. Defaults to 45 degrees.\n        cmap: Which colormap to use. Defaults to `RdBu`.\n        normalized_cmap: Use a normalized colormap threshold or not. Defaults to True\n    Returns:\n        The plot axis.\n    \"\"\"\n    _, ax = plt.subplots(1, 1, figsize=figsize)\n    norm_args = {\"vmin\": -1, \"vmax\": 1} if normalized_cmap else {}\n\n    if labels:\n        sns.heatmap(\n            corr_mat,\n            mask=mask,\n            cmap=cmap,\n            ax=ax,\n            cbar=cbar,\n            annot=True,\n            annot_kws={\"size\": fontsize - 2},\n            **norm_args,\n        )\n    else:\n        sns.heatmap(corr_mat, mask=mask, cmap=cmap, ax=ax, cbar=cbar, **norm_args)\n\n    # Apply visual corrections and modifications.\n    ax.xaxis.tick_bottom()\n    ax.set_xticklabels(\n        ax.xaxis.get_majorticklabels(),\n        rotation=label_rotation,\n        ha=\"right\",\n        fontsize=fontsize,\n    )\n    ax.set_yticklabels(ax.yaxis.get_majorticklabels(), rotation=0, fontsize=fontsize)\n    ax = _set_visibility(ax)\n    ax.patch.set_visible(False)\n\n    for text in ax.texts:\n        t = float(text.get_text())\n        if 0.95 <= t < 1:\n            text.set_text(\"<1\")\n        elif -1 < t <= -0.95:\n            text.set_text(\">-1\")\n        elif t == 1:\n            text.set_text(\"1\")\n        elif t == -1:\n            text.set_text(\"-1\")\n        elif -0.05 < t < 0.05:\n            text.set_text(\"\")\n        else:\n            text.set_text(round(t, 1))\n\n    return ax",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/Data-Centric-AI-Community/fg-data-profiling/blob/c27f8dcf54ba9e382b4dd235d61ef1acbe3926b9/src/data_profiling/visualisation/plot.py#L1084-L1158",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F188"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=seaborn%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F174"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import seaborn as sns\nimport matplotlib.pyplot as plt\nsns.scatterplot(x=[1, 2, 3], y=[1, 4, 9])\nplt.show()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://seaborn.pydata.org/generated/seaborn.scatterplot.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "seaborn.scatterplot.html"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F179"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "bokeh",
          "name": [
            {
              "t": "fact",
              "fact": "F191"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/bokeh/bokeh"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/bokeh"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/project/bokeh/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F83"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/project/bokeh/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F191"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F84"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F85"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F86"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F87"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F88"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F89"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F90"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F91"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/arviz-devs/arviz",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F204"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def _histplot_bokeh_op(values, values2, rotated, ax, hist_kwargs, is_circular):\n    \"\"\"Add a histogram for the data to the axes.\"\"\"\n    if values2 is not None:\n        raise NotImplementedError(\"Insert hexbin plot here\")\n\n    color = hist_kwargs.pop(\"color\", False)\n    if color:\n        hist_kwargs[\"fill_color\"] = color\n        hist_kwargs[\"line_color\"] = color\n\n    bins = hist_kwargs.pop(\"bins\", None)\n    if bins is None:\n        bins = get_bins(values)\n    hist, hist_dens, edges = histogram(np.asarray(values).flatten(), bins=bins)\n    if hist_kwargs.pop(\"density\", True):\n        hist = hist_dens\n    if hist_kwargs.pop(\"cumulative\", False):\n        hist = np.cumsum(hist)\n        hist /= hist[-1]\n    if values.dtype.kind == \"i\":\n        edges = edges.astype(float) - 0.5\n\n    if is_circular:\n        if is_circular == \"degrees\":\n            edges = np.deg2rad(edges)\n            labels = [\"0°\", \"45°\", \"90°\", \"135°\", \"180°\", \"225°\", \"270°\", \"315°\"]\n        else:\n            labels = [\n                r\"0\",\n                r\"π/4\",\n                r\"π/2\",\n                r\"3π/4\",\n                r\"π\",\n                r\"5π/4\",\n                r\"3π/2\",\n                r\"7π/4\",\n            ]\n\n        delta = np.mean(np.diff(edges) / 2)\n\n        ax.annular_wedge(\n            x=0,\n            y=0,\n            inner_radius=0,\n            outer_radius=hist,\n            start_angle=edges[1:] - delta,\n            end_angle=edges[:-1] - delta,\n            direction=\"clock\",\n            **hist_kwargs,\n        )\n\n        ax = set_bokeh_circular_ticks_labels(ax, hist, labels)\n    elif rotated:\n        ax.quad(top=edges[:-1], bottom=edges[1:], left=0, right=hist, **hist_kwargs)\n    else:\n        ax.quad(top=hist, bottom=0, left=edges[:-1], right=edges[1:], **hist_kwargs)\n\n    return ax",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/arviz-devs/arviz/blob/35fa479d617aa82dbe005af12fab6b37146e8c5b/arviz/plots/backends/bokeh/distplot.py#L126-L183",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F203"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20bokeh%20to%20render%20charts%2C%20plot%20distributions%20and%20export%20visualizations&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F191"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from bokeh.plotting import figure, show\np = figure()\np.line([1, 2, 3], [1, 4, 9])\nshow(p)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://docs.bokeh.org/en/latest/docs/first_steps/first_steps_1.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "stats.html"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F196"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "plotnine",
          "name": [
            {
              "t": "fact",
              "fact": "F206"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/has2k1/plotnine"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/plotnine"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/project/plotnine/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F213"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F207"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F215"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F209"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F208"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/project/plotnine/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F206"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/awesome-panel/awesome-panel",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F221"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def get_plot(theme=\"default\"):\n    \"\"\"Returns a Plotnine Figure\"\"\"\n    plt.style.use(\"default\")\n    if theme == \"dark\":\n        plotnine_theme = themes.theme_dark() + themes.theme(\n            plot_background=element_rect(fill=\"black\", alpha=0)\n        )\n    else:\n        plotnine_theme = themes.theme_xkcd()\n\n    plot = (\n        (\n            ggplot(mtcars, aes(\"wt\", \"mpg\", color=\"factor(gear)\"))\n            + geom_point()\n            + stat_smooth(method=\"lm\")\n            + facet_wrap(\"~gear\")\n        )\n        + plotnine_theme\n        + themes.theme(figure_size=(16, 8))\n    )\n    return plot.draw()",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/awesome-panel/awesome-panel/blob/f749ee7cb0c26353b857d3042a1746af6205cced/examples/lib_plotnine.py#L25-L45",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F220"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=plotnine%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F206"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from plotnine import ggplot, aes, geom_point\nfrom plotnine.data import mtcars\nplot = ggplot(mtcars, aes('wt', 'mpg')) + geom_point()\nplot.show()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pypi.org/pypi/plotnine/0.15.9/json#info.description",
                  "label": [
                    {
                      "t": "text",
                      "text": "json#info.description"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F211"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pyqtgraph",
          "name": [
            {
              "t": "fact",
              "fact": "F223"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/pyqtgraph/pyqtgraph"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pyqtgraph"
            },
            {
              "label": "Docs",
              "href": "https://pyqtgraph.readthedocs.io"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F230"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F232"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F226"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F225"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pyqtgraph.readthedocs.io",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F223"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import pyqtgraph as pg\napp = pg.mkQApp()\nplot = pg.plot([1, 2, 3], [1, 4, 9])\npg.exec()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pyqtgraph.readthedocs.io/en/latest/getting_started/how_to_use.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "how_to_use.html"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=pyqtgraph%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F223"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F228"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pyecharts",
          "name": [
            {
              "t": "fact",
              "fact": "F236"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/pyecharts/pyecharts"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pyecharts"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/project/pyecharts/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F243"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/project/pyecharts/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F236"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F252"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/FinMind/FinMind",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F251"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def bar(\n    labels: typing.Union[typing.List[typing.Union[str, int]], Labels],\n    series: typing.Union[typing.List[typing.Union[int, float]], Series],\n    y_series_name: str = \"\",\n    y_axis_name: str = \"億\",\n    yaxis_color: str = \"#dca540\",\n    title: str = \"title\",\n    width: str = \"800px\",\n    height: str = \"600px\",\n    filename: str = \"bar.html\",\n):\n    \"\"\"plot bar\n    :param: bar_plot_data (:obj:FinMind.BarPlotSchema)\n    BarPlotSchema(labels=labels, series=series)\n    :param: y_series_name (str) default ''\n    :param: y_axis_name (str) default \"億\"\n    :param: yaxis_color (str) default \"#dca540\"\n    :param: title (str) default \"title\"\n    :param: width (str) default \"800px\"\n    :param: height (str) default \"600px\"\n    :param: filename (str) default \"bar.html\", output filename\n\n    :return: display bar\n    :rtype pyecharts.charts.Bar\n    \"\"\"\n    labels, series = convert_labels_series_schema(labels, series)\n    bar_plot = (\n        Bar(opts.InitOpts(width=width, height=height))\n        .add_xaxis(labels.labels)\n        .add_yaxis(\n            series_name=y_series_name,\n            y_axis=series.series,\n            itemstyle_opts=opts.ItemStyleOpts(color=yaxis_color),\n        )\n        .set_global_opts(\n            title_opts=opts.TitleOpts(title=title),\n            datazoom_opts=[\n                opts.DataZoomOpts(xaxis_index=[0]),\n                opts.DataZoomOpts(xaxis_index=[0], type_=\"inside\"),\n            ],\n            yaxis_opts=opts.AxisOpts(\n                axislabel_opts=opts.LabelOpts(\n                    formatter=f\"{{value}}{y_axis_name}\"\n                ),\n            ),\n            tooltip_opts=opts.TooltipOpts(\n                trigger=\"axis\", axis_pointer_type=\"cross\"\n            ),\n        )\n        .set_series_opts(\n            markpoint_opts=opts.MarkPointOpts(),\n        )\n    )\n    bar_plot.render(filename)\n    display(HTML(filename=filename))\n    return bar_plot",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/FinMind/FinMind/blob/28baf6b289fcc7f023300c52a8028dab7a6c31f9/FinMind/plotting/bar.py#L10-L65",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F250"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=pyecharts%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F236"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from pyecharts.charts import Bar\nbar = Bar().add_xaxis(['A', 'B']).add_yaxis('Count', [1, 3])\nbar.render('chart.html')\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/pyecharts/pyecharts/v2.1.0/README.en.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.en.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F241"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which Python charting library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#matplotlib",
          "label": [
            {
              "t": "text",
              "text": "Matplotlib"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits publication figures and fine control over every element. "
        },
        {
          "t": "link",
          "href": "#plotly",
          "label": [
            {
              "t": "text",
              "text": "Plotly"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits interactive charts in notebooks and web dashboards. "
        },
        {
          "t": "link",
          "href": "#seaborn",
          "label": [
            {
              "t": "text",
              "text": "seaborn"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits statistical charts drawn from DataFrames with little code."
        }
      ]
    },
    {
      "q": "What is Matplotlib?",
      "a": [
        {
          "t": "link",
          "href": "#matplotlib",
          "label": [
            {
              "t": "text",
              "text": "Matplotlib"
            }
          ]
        },
        {
          "t": "text",
          "text": " is the foundational Python plotting library for static, animated, and interactive figures. pandas and seaborn draw their charts with it."
        }
      ]
    },
    {
      "q": "What is Bokeh?",
      "a": [
        {
          "t": "link",
          "href": "#bokeh",
          "label": [
            {
              "t": "text",
              "text": "Bokeh"
            }
          ]
        },
        {
          "t": "text",
          "text": " creates interactive visualizations from Python that render in the browser with JavaScript. It supports streaming data and server-backed apps."
        }
      ]
    },
    {
      "q": "What is seaborn?",
      "a": [
        {
          "t": "link",
          "href": "#seaborn",
          "label": [
            {
              "t": "text",
              "text": "seaborn"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a statistical visualization library built on Matplotlib. It draws distribution, regression, and categorical plots directly from DataFrames."
        }
      ]
    },
    {
      "q": "Plotly vs Matplotlib: which should I use?",
      "a": [
        {
          "t": "link",
          "href": "#matplotlib",
          "label": [
            {
              "t": "text",
              "text": "Matplotlib"
            }
          ]
        },
        {
          "t": "text",
          "text": " draws static images by default and gives low-level control. "
        },
        {
          "t": "link",
          "href": "#plotly",
          "label": [
            {
              "t": "text",
              "text": "Plotly"
            }
          ]
        },
        {
          "t": "text",
          "text": " renders interactive HTML charts with zoom and hover built in."
        }
      ]
    },
    {
      "q": "Seaborn vs Matplotlib: what is the difference?",
      "a": [
        {
          "t": "link",
          "href": "#seaborn",
          "label": [
            {
              "t": "text",
              "text": "seaborn"
            }
          ]
        },
        {
          "t": "text",
          "text": " is built on "
        },
        {
          "t": "link",
          "href": "#matplotlib",
          "label": [
            {
              "t": "text",
              "text": "Matplotlib"
            }
          ]
        },
        {
          "t": "text",
          "text": " and adds statistical chart types with styled defaults. Matplotlib remains the layer for fine-tuning each figure."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, matplotlib",
      "display": "Matplotlib",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, matplotlib",
      "display": "188.1M",
      "asOf": "2026-11-16"
    },
    "F3": {
      "label": "License, matplotlib",
      "display": "Matplotlib license",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, matplotlib",
      "display": "3.11.2, Sep 2026",
      "asOf": "2026-09-11"
    },
    "F5": {
      "label": "Package release date, matplotlib",
      "display": "Sep 2026",
      "asOf": "2026-09-11"
    },
    "F6": {
      "label": "Repository stars, matplotlib",
      "display": "23.5K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Interactive charts, matplotlib",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Static images, matplotlib",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Statistical charts, matplotlib",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Output formats, matplotlib",
      "display": "PNG, PDF, SVG",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Install, matplotlib",
      "display": "pip install matplotlib",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "What it does, matplotlib",
      "display": "Creates static, animated, and interactive visualizations.",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths lead, matplotlib",
      "display": "Creates static and interactive figures",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths, matplotlib",
      "display": "Use the same plotting library for image files and interactive windows.",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths lead, matplotlib",
      "display": "Exports publication image formats",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths, matplotlib",
      "display": "Save figures as PNG, PDF, or SVG.",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations lead, matplotlib",
      "display": "Interactivity needs an appropriate backend",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations, matplotlib",
      "display": "Choose an interactive backend for live windows instead of image-only output.",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "Quickstart, matplotlib",
      "display": "import matplotlib.pyplot as plt\nimport numpy as np\n\nx = np.linspace(0, 2 * np.pi, 200)\ny = np.sin(x)\n\nfig, ax = plt.subplots()\nax.plot(x, y)\nplt.show()\n\n",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "Project function, matplotlib",
      "display": "def _histplot_mpl_op(values, values2, rotated, ax, hist_kwargs, is_circular):\n    \"\"\"Add a histogram for the data to the axes.\"\"\"\n    bins = hist_kwargs.pop(\"bins\", None)\n\n    if is_circular == \"degrees\":\n        if bins is None:\n            bins = get_bins(values)\n        values = np.deg2rad(values)\n        bins = np.deg2rad(bins)\n\n    elif is_circular:\n        labels = [\n            \"0\",\n            f\"{np.pi/4:.2f}\",\n            f\"{np.pi/2:.2f}\",\n            f\"{3*np.pi/4:.2f}\",\n            f\"{np.pi:.2f}\",\n            f\"{-3*np.pi/4:.2f}\",\n            f\"{-np.pi/2:.2f}\",\n            f\"{-np.pi/4:.2f}\",\n        ]\n\n        ax.set_xticklabels(labels)\n\n    if values2 is not None:\n        raise NotImplementedError(\"Insert hexbin plot here\")\n\n    if bins is None:\n        bins = get_bins(values)\n\n    if values.dtype.kind == \"i\":\n        hist_kwargs.setdefault(\"align\", \"left\")\n    else:\n        hist_kwargs.setdefault(\"align\", \"mid\")\n\n    n, bins, _ = ax.hist(np.asarray(values).flatten(), bins=bins, **hist_kwargs)\n\n    if values.dtype.kind == \"i\":\n        ticks = bins[:-1]\n    else:\n        ticks = (bins[1:] + bins[:-1]) / 2\n\n    if rotated:\n        ax.set_yticks(ticks)\n    elif not is_circular:\n        ax.set_xticks(ticks)\n\n    if is_circular:\n        ax.set_ylim(0, 1.5 * n.max())\n        ax.set_yticklabels([])\n\n    if hist_kwargs.get(\"label\") is not None:\n        ax.legend()\n\n    return ax\n",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Project function reference, matplotlib",
      "display": "distplot.py · _histplot_mpl_op()",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project repository, matplotlib",
      "display": "arviz-devs/arviz",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project stars, arviz-devs/arviz",
      "display": "1.9K",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project push date, arviz-devs/arviz",
      "display": "Nov 2026",
      "asOf": "2026-11-04"
    },
    "F25": {
      "label": "Library name, plotly",
      "display": "Plotly",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Monthly downloads, plotly",
      "display": "57.8M",
      "asOf": "2026-11-16"
    },
    "F27": {
      "label": "License, plotly",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Package release, plotly",
      "display": "7.1.0, Sep 2026",
      "asOf": "2026-09-15"
    },
    "F29": {
      "label": "Package release date, plotly",
      "display": "Sep 2026",
      "asOf": "2026-09-15"
    },
    "F30": {
      "label": "Repository stars, plotly",
      "display": "18.9K",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Interactive charts, plotly",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Static images, plotly",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Statistical charts, plotly",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Web dashboards, plotly",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Output formats, plotly",
      "display": "PNG, PDF, SVG",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "Install, plotly",
      "display": "pip install plotly",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "What it does, plotly",
      "display": "Creates interactive browser-based charts from Python.",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "strengths lead, plotly",
      "display": "Shares interactive HTML files",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths, plotly",
      "display": "Keep hover, zoom, and trace controls when sharing browser-readable charts.",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths lead, plotly",
      "display": "Fits Dash applications",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "strengths, plotly",
      "display": "Embed Python figures in analytical web applications built with Dash.",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "limitations lead, plotly",
      "display": "Static export needs browser dependencies",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations, plotly",
      "display": "Install Kaleido and compatible Chrome or Chromium to produce image files.",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "Quickstart, plotly",
      "display": "import plotly.express as px\nfig = px.bar(x=[\"a\", \"b\", \"c\"], y=[1, 3, 2])\nfig.show()\n\n",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "Library name, altair",
      "display": "Altair",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "Monthly downloads, altair",
      "display": "42.2M",
      "asOf": "2026-11-16"
    },
    "F47": {
      "label": "License, altair",
      "display": "BSD",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Package release, altair",
      "display": "6.3.0, Sep 2026",
      "asOf": "2026-09-15"
    },
    "F49": {
      "label": "Package release date, altair",
      "display": "Sep 2026",
      "asOf": "2026-09-15"
    },
    "F50": {
      "label": "Repository stars, altair",
      "display": "10.5K",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Interactive charts, altair",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "Static images, altair",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F53": {
      "label": "Statistical charts, altair",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "Output formats, altair",
      "display": "PNG, PDF, SVG",
      "asOf": "2026-11-17"
    },
    "F55": {
      "label": "Install, altair",
      "display": "pip install altair pandas anywidget",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "What it does, altair",
      "display": "Defines declarative statistical charts using Vega and Vega-Lite.",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "strengths lead, altair",
      "display": "Maps data columns to visuals",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "strengths, altair",
      "display": "Declare encoding channels and let the chart grammar handle plot details.",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "strengths lead, altair",
      "display": "Links notebook charts with Python",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "strengths, altair",
      "display": "Observe selections and update displayed charts through JupyterChart.",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "limitations lead, altair",
      "display": "Large embedded datasets trigger errors",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "limitations, altair",
      "display": "Enable VegaFusion or aggregate data before embedding it in a chart.",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "limitations lead, altair",
      "display": "Image export needs another package",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "limitations, altair",
      "display": "Install vl-convert-python for images or offline HTML files.",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "Quickstart, altair",
      "display": "import altair as alt\nimport pandas as pd\n\nsource = pd.DataFrame({\n    'a': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I'],\n    'b': [28, 55, 43, 91, 81, 53, 19, 87, 52]\n})\n\nchart = alt.Chart(source).mark_bar().encode(\n    x='a',\n    y='b'\n)\n\njchart = alt.JupyterChart(chart)\njchart\n\n",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "Project function, altair",
      "display": "def _altair_to_dict(obj):\n    import altair as alt\n\n    # The vegafusion transformer makes Altair refuse any other format\n    if alt.data_transformers.active == 'vegafusion':\n        return obj.to_dict(format='vega')\n    return obj.to_dict()\n",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "Project function reference, altair",
      "display": "vega.py · _altair_to_dict()",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "Project repository, altair",
      "display": "holoviz/panel",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "Project stars, holoviz/panel",
      "display": "5.8K",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "Project push date, holoviz/panel",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F71": {
      "label": "Library name, bokeh",
      "display": "Bokeh",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "Monthly downloads, bokeh",
      "display": "6.3M",
      "asOf": "2026-11-16"
    },
    "F73": {
      "label": "License, bokeh",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Package release, bokeh",
      "display": "3.10.2, Nov 2026",
      "asOf": "2026-11-05"
    },
    "F75": {
      "label": "Package release date, bokeh",
      "display": "Nov 2026",
      "asOf": "2026-11-05"
    },
    "F76": {
      "label": "Repository stars, bokeh",
      "display": "20.5K",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "Interactive charts, bokeh",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Static images, bokeh",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F79": {
      "label": "Statistical charts, bokeh",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Web dashboards, bokeh",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "Output formats, bokeh",
      "display": "PNG",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "Install, bokeh",
      "display": "pip install bokeh",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "What it does, bokeh",
      "display": "Creates interactive JavaScript-powered visualizations from Python.",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "strengths lead, bokeh",
      "display": "Runs live Python callbacks",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "strengths, bokeh",
      "display": "Serve applications that synchronize Python models with connected browsers.",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "strengths lead, bokeh",
      "display": "Includes browser exploration tools",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "strengths, bokeh",
      "display": "Pan, zoom, and reset charts through built-in browser controls.",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "limitations lead, bokeh",
      "display": "Two-way Python interaction needs hosting",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "limitations, bokeh",
      "display": "Run a Bokeh server to receive interactive browser updates in Python.",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "limitations lead, bokeh",
      "display": "Image export needs browser dependencies",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "limitations, bokeh",
      "display": "Install a headless browser backend for PNG or SVG export.",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "Quickstart, bokeh",
      "display": "import numpy as np\n\nfrom bokeh.plotting import figure, show\n\nrng = np.random.default_rng()\nx = rng.normal(loc=0, scale=1, size=1000)\n\np = figure(width=670, height=400, toolbar_location=None,\n           title=\"Normal (Gaussian) Distribution\")\n\n# Histogram\nbins = np.linspace(-3, 3, 40)\nhist, edges = np.histogram(x, density=True, bins=bins)\np.quad(top=hist, bottom=0, left=edges[:-1], right=edges[1:],\n         fill_color=\"skyblue\", line_color=\"white\",\n         legend_label=\"1000 random samples\")\n\n# Probability density function\nx = np.linspace(-3.0, 3.0, 100)\npdf = np.exp(-0.5*x**2) / np.sqrt(2.0*np.pi)\np.line(x, pdf, line_width=2, line_color=\"navy\",\n       legend_label=\"Probability Density Function\")\n\np.y_range.start = 0\np.xaxis.axis_label = \"x\"\np.yaxis.axis_label = \"PDF(x)\"\n\nshow(p)\n\n",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "Project function, bokeh",
      "display": "def _histplot_bokeh_op(values, values2, rotated, ax, hist_kwargs, is_circular):\n    \"\"\"Add a histogram for the data to the axes.\"\"\"\n    if values2 is not None:\n        raise NotImplementedError(\"Insert hexbin plot here\")\n\n    color = hist_kwargs.pop(\"color\", False)\n    if color:\n        hist_kwargs[\"fill_color\"] = color\n        hist_kwargs[\"line_color\"] = color\n\n    bins = hist_kwargs.pop(\"bins\", None)\n    if bins is None:\n        bins = get_bins(values)\n    hist, hist_dens, edges = histogram(np.asarray(values).flatten(), bins=bins)\n    if hist_kwargs.pop(\"density\", True):\n        hist = hist_dens\n    if hist_kwargs.pop(\"cumulative\", False):\n        hist = np.cumsum(hist)\n        hist /= hist[-1]\n    if values.dtype.kind == \"i\":\n        edges = edges.astype(float) - 0.5\n\n    if is_circular:\n        if is_circular == \"degrees\":\n            edges = np.deg2rad(edges)\n            labels = [\"0°\", \"45°\", \"90°\", \"135°\", \"180°\", \"225°\", \"270°\", \"315°\"]\n        else:\n            labels = [\n                r\"0\",\n                r\"π/4\",\n                r\"π/2\",\n                r\"3π/4\",\n                r\"π\",\n                r\"5π/4\",\n                r\"3π/2\",\n                r\"7π/4\",\n            ]\n\n        delta = np.mean(np.diff(edges) / 2)\n\n        ax.annular_wedge(\n            x=0,\n            y=0,\n            inner_radius=0,\n            outer_radius=hist,\n            start_angle=edges[1:] - delta,\n            end_angle=edges[:-1] - delta,\n            direction=\"clock\",\n            **hist_kwargs,\n        )\n\n        ax = set_bokeh_circular_ticks_labels(ax, hist, labels)\n    elif rotated:\n        ax.quad(top=edges[:-1], bottom=edges[1:], left=0, right=hist, **hist_kwargs)\n    else:\n        ax.quad(top=hist, bottom=0, left=edges[:-1], right=edges[1:], **hist_kwargs)\n\n    return ax\n",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "Project function reference, bokeh",
      "display": "distplot.py · _histplot_bokeh_op()",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "Project repository, bokeh",
      "display": "arviz-devs/arviz",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "Project stars, arviz-devs/arviz",
      "display": "1.9K",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Project push date, arviz-devs/arviz",
      "display": "Nov 2026",
      "asOf": "2026-11-04"
    },
    "F98": {
      "label": "Developer need",
      "display": "Static figures and desktop plots",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Why choose matplotlib",
      "display": "static and interactive figure support",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Developer need in introduction",
      "display": "static figures and desktop plots",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "When to consider plotly",
      "display": "shared charts should preserve browser interaction",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Developer need",
      "display": "Interactive charts shared as files",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Why choose plotly",
      "display": "interactive HTML sharing",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Developer need in introduction",
      "display": "interactive charts shared as files",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "When to consider bokeh",
      "display": "live Python callbacks drive the browser view",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Developer need",
      "display": "Browser apps with Python callbacks",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Why choose bokeh",
      "display": "a synchronized Python server",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Developer need in introduction",
      "display": "browser apps with Python callbacks",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "When to consider altair",
      "display": "declarative encoding rules fit the chart",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "Developer need",
      "display": "Declarative statistical charts",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "Why choose altair",
      "display": "data-to-visual encoding declarations",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "Developer need in introduction",
      "display": "declarative statistical charts",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "When to consider matplotlib",
      "display": "the deliverable is an image file",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "Page introduction",
      "display": "Python charting libraries let application developers present data as charts.",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "FAQ: What is the best Python charting library?",
      "display": "Matplotlib creates static and interactive figures.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: What is the best Python charting library?",
      "display": "Plotly shares interactive figures as browser-readable HTML.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: What is the best Python charting library?",
      "display": "Bokeh serves synchronized Python applications.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: What is the best Python charting library?",
      "display": "Altair expresses statistical charts through a declarative grammar.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Matplotlib vs Plotly: which should I choose?",
      "display": "Matplotlib supports static files and interactive GUI backends.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Matplotlib vs Plotly: which should I choose?",
      "display": "Plotly exports HTML files that retain hover, zoom, and trace controls.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Can I export Python charts to PNG, PDF or SVG?",
      "display": "Matplotlib savefig writes image formats including PNG, PDF, and SVG.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Can I export Python charts to PNG, PDF or SVG?",
      "display": "Plotly image export requires Kaleido and a compatible Chrome or Chromium installation.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Can I export Python charts to PNG, PDF or SVG?",
      "display": "Altair image export requires vl-convert-python.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: Does a Bokeh chart need a Python server?",
      "display": "Bokeh can execute JavaScript callbacks directly in the browser.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: Does a Bokeh chart need a Python server?",
      "display": "Two-way interaction with Python requires an embedded or separately hosted Bokeh server.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: Why does Altair reject a large dataset?",
      "display": "Altair limits the number of directly embedded rows; aggregate first or enable the VegaFusion transformer.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "FAQ: Can a Python chart remain interactive after sharing?",
      "display": "Plotly HTML exports preserve browser interaction.",
      "asOf": "2026-11-17"
    },
    "F128": {
      "label": "FAQ: Can a Python chart remain interactive after sharing?",
      "display": "A static image export removes that interactive chart interface.",
      "asOf": "2026-11-17"
    },
    "F129": {
      "label": "Library name, matplotlib",
      "display": "Matplotlib",
      "asOf": "2026-11-20"
    },
    "F130": {
      "label": "Monthly downloads, matplotlib",
      "display": "196.4M",
      "asOf": "2026-11-20"
    },
    "F131": {
      "label": "License, matplotlib",
      "display": "Matplotlib",
      "asOf": "2026-11-20"
    },
    "F132": {
      "label": "Package release, matplotlib",
      "display": "3.11.2",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "Package release date, matplotlib",
      "display": "Sep 2026",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "Install, matplotlib",
      "display": "pip install matplotlib",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Quickstart, matplotlib",
      "display": "import matplotlib.pyplot as plt\nplt.plot([1, 2, 3], [1, 4, 9])\nplt.show()\n",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Repository stars, matplotlib",
      "display": "23.5K",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Interactive HTML export, matplotlib",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "PNG export, matplotlib",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Rendering model, matplotlib",
      "display": "Figure/Axes API with static and GUI backends",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Project function, matplotlib",
      "display": "def _histplot_mpl_op(values, values2, rotated, ax, hist_kwargs, is_circular):\n    \"\"\"Add a histogram for the data to the axes.\"\"\"\n    bins = hist_kwargs.pop(\"bins\", None)\n\n    if is_circular == \"degrees\":\n        if bins is None:\n            bins = get_bins(values)\n        values = np.deg2rad(values)\n        bins = np.deg2rad(bins)\n\n    elif is_circular:\n        labels = [\n            \"0\",\n            f\"{np.pi/4:.2f}\",\n            f\"{np.pi/2:.2f}\",\n            f\"{3*np.pi/4:.2f}\",\n            f\"{np.pi:.2f}\",\n            f\"{-3*np.pi/4:.2f}\",\n            f\"{-np.pi/2:.2f}\",\n            f\"{-np.pi/4:.2f}\",\n        ]\n\n        ax.set_xticklabels(labels)\n\n    if values2 is not None:\n        raise NotImplementedError(\"Insert hexbin plot here\")\n\n    if bins is None:\n        bins = get_bins(values)\n\n    if values.dtype.kind == \"i\":\n        hist_kwargs.setdefault(\"align\", \"left\")\n    else:\n        hist_kwargs.setdefault(\"align\", \"mid\")\n\n    n, bins, _ = ax.hist(np.asarray(values).flatten(), bins=bins, **hist_kwargs)\n\n    if values.dtype.kind == \"i\":\n        ticks = bins[:-1]\n    else:\n        ticks = (bins[1:] + bins[:-1]) / 2\n\n    if rotated:\n        ax.set_yticks(ticks)\n    elif not is_circular:\n        ax.set_xticks(ticks)\n\n    if is_circular:\n        ax.set_ylim(0, 1.5 * n.max())\n        ax.set_yticklabels([])\n\n    if hist_kwargs.get(\"label\") is not None:\n        ax.legend()\n\n    return ax",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Project source file, matplotlib",
      "display": "arviz/plots/backends/matplotlib/distplot.py",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Project full_name, matplotlib",
      "display": "arviz-devs/arviz",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Project stargazers_count, matplotlib",
      "display": "1.9K",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Library name, plotly",
      "display": "Plotly",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Monthly downloads, plotly",
      "display": "60.0M",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "License, plotly",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Package release, plotly",
      "display": "7.1.0",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Package release date, plotly",
      "display": "Sep 2026",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Install, plotly",
      "display": "pip install plotly",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Quickstart, plotly",
      "display": "import plotly.express as px\nfig = px.bar(x=[\"a\", \"b\", \"c\"], y=[1, 3, 2])\nfig.show()\n",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Repository stars, plotly",
      "display": "18.9K",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Interactive HTML export, plotly",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "PNG export, plotly",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Rendering model, plotly",
      "display": "Plotly.js interactive charts from Python figures",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Project function, plotly",
      "display": "def create_pip_plot(libraries, pip_choices):\n    if \"Pip\" not in pip_choices:\n        return gr.Plot(visible=False)\n    output = retrieve_pip_installs(libraries, \"Cumulated\" in pip_choices)\n    df = pd.DataFrame(output).melt(id_vars=\"day\")\n    plot = px.line(df, x=\"day\", y=\"value\", color=\"variable\",\n                   title=\"Pip installs\")\n    plot.update_layout(legend=dict(x=0.5, y=0.99),  title_x=0.5, legend_title_text=\"\")\n    return gr.Plot(value=plot, visible=True)",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Project source file, plotly",
      "display": "demo/dashboard/run.py",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Project full_name, plotly",
      "display": "gradio-app/gradio",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Project stargazers_count, plotly",
      "display": "44.1K",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Library name, altair",
      "display": "Altair",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Monthly downloads, altair",
      "display": "43.5M",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "License, altair",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Package release, altair",
      "display": "6.3.0",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Package release date, altair",
      "display": "Sep 2026",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Install, altair",
      "display": "pip install altair",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Quickstart, altair",
      "display": "import altair as alt\nchart = alt.Chart(alt.Data(values=[{\"x\": \"A\", \"y\": 1}, {\"x\": \"B\", \"y\": 3}])).mark_bar().encode(x=\"x:N\", y=\"y:Q\")\nchart.save(\"chart.html\")\n",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Repository stars, altair",
      "display": "10.5K",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Interactive HTML export, altair",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "PNG export, altair",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Chart model, altair",
      "display": "Declarative Vega-Lite encodings and selections",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Project function, altair",
      "display": "def _altair_to_dict(obj):\n    import altair as alt\n\n    # The vegafusion transformer makes Altair refuse any other format\n    if alt.data_transformers.active == 'vegafusion':\n        return obj.to_dict(format='vega')\n    return obj.to_dict()",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Project source file, altair",
      "display": "panel/pane/vega.py",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Project full_name, altair",
      "display": "holoviz/panel",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Project stargazers_count, altair",
      "display": "5.8K",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Library name, seaborn",
      "display": "seaborn",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Monthly downloads, seaborn",
      "display": "31.6M",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "License, seaborn",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Package release, seaborn",
      "display": "0.13.2",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Package release date, seaborn",
      "display": "Jan 2024",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Install, seaborn",
      "display": "pip install seaborn",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Quickstart, seaborn",
      "display": "import seaborn as sns\nimport matplotlib.pyplot as plt\nsns.scatterplot(x=[1, 2, 3], y=[1, 4, 9])\nplt.show()\n",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Official description, seaborn",
      "display": "Draws statistical data visualizations.",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Quickstart source file, seaborn",
      "display": "generated/seaborn.scatterplot (API recipe)",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Repository stars, seaborn",
      "display": "14.1K",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Interactive HTML export, seaborn",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "PNG export, seaborn",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Chart model, seaborn",
      "display": "Statistical charts on Matplotlib",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Project function, seaborn",
      "display": "def missing_heatmap(\n    corr_mat: Any,\n    mask: Any,\n    figsize: Tuple[float, float] = (20, 12),\n    fontsize: float = 16,\n    labels: bool = True,\n    label_rotation: int = 45,\n    cmap: str = \"RdBu\",\n    normalized_cmap: bool = True,\n    cbar: bool = True,\n    ax: matplotlib.axis.Axis = None,\n) -> matplotlib.axis.Axis:\n    \"\"\"\n    Presents a `seaborn` heatmap visualization of missing data correlation.\n    Note that this visualization has no special support for large datasets.\n\n    Inspired by https://github.com/ResidentMario/missingno\n\n    Args:\n        corr_mat: correlation matrix.\n        mask: Upper-triangle mask.\n        figsize: The size of the figure to display. Defaults to (20, 12).\n        fontsize: The figure's font size.\n        labels: Whether or not to label each matrix entry with its correlation (default is True).\n        label_rotation: What angle to rotate the text labels to. Defaults to 45 degrees.\n        cmap: Which colormap to use. Defaults to `RdBu`.\n        normalized_cmap: Use a normalized colormap threshold or not. Defaults to True\n    Returns:\n        The plot axis.\n    \"\"\"\n    _, ax = plt.subplots(1, 1, figsize=figsize)\n    norm_args = {\"vmin\": -1, \"vmax\": 1} if normalized_cmap else {}\n\n    if labels:\n        sns.heatmap(\n            corr_mat,\n            mask=mask,\n            cmap=cmap,\n            ax=ax,\n            cbar=cbar,\n            annot=True,\n            annot_kws={\"size\": fontsize - 2},\n            **norm_args,\n        )\n    else:\n        sns.heatmap(corr_mat, mask=mask, cmap=cmap, ax=ax, cbar=cbar, **norm_args)\n\n    # Apply visual corrections and modifications.\n    ax.xaxis.tick_bottom()\n    ax.set_xticklabels(\n        ax.xaxis.get_majorticklabels(),\n        rotation=label_rotation,\n        ha=\"right\",\n        fontsize=fontsize,\n    )\n    ax.set_yticklabels(ax.yaxis.get_majorticklabels(), rotation=0, fontsize=fontsize)\n    ax = _set_visibility(ax)\n    ax.patch.set_visible(False)\n\n    for text in ax.texts:\n        t = float(text.get_text())\n        if 0.95 <= t < 1:\n            text.set_text(\"<1\")\n        elif -1 < t <= -0.95:\n            text.set_text(\">-1\")\n        elif t == 1:\n            text.set_text(\"1\")\n        elif t == -1:\n            text.set_text(\"-1\")\n        elif -0.05 < t < 0.05:\n            text.set_text(\"\")\n        else:\n            text.set_text(round(t, 1))\n\n    return ax",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Project source file, seaborn",
      "display": "src/data_profiling/visualisation/plot.py",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Project full_name, seaborn",
      "display": "Data-Centric-AI-Community/fg-data-profiling",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Project stargazers_count, seaborn",
      "display": "13.8K",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Library name, bokeh",
      "display": "Bokeh",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Monthly downloads, bokeh",
      "display": "6.5M",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "License, bokeh",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Package release, bokeh",
      "display": "3.10.2",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Package release date, bokeh",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Install, bokeh",
      "display": "pip install bokeh",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Quickstart, bokeh",
      "display": "from bokeh.plotting import figure, show\np = figure()\np.line([1, 2, 3], [1, 4, 9])\nshow(p)\n",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Repository stars, bokeh",
      "display": "20.5K",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Interactive HTML export, bokeh",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "PNG export, bokeh",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Interaction model, bokeh",
      "display": "Standalone JS tools or Python server application",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Project function, bokeh",
      "display": "def _histplot_bokeh_op(values, values2, rotated, ax, hist_kwargs, is_circular):\n    \"\"\"Add a histogram for the data to the axes.\"\"\"\n    if values2 is not None:\n        raise NotImplementedError(\"Insert hexbin plot here\")\n\n    color = hist_kwargs.pop(\"color\", False)\n    if color:\n        hist_kwargs[\"fill_color\"] = color\n        hist_kwargs[\"line_color\"] = color\n\n    bins = hist_kwargs.pop(\"bins\", None)\n    if bins is None:\n        bins = get_bins(values)\n    hist, hist_dens, edges = histogram(np.asarray(values).flatten(), bins=bins)\n    if hist_kwargs.pop(\"density\", True):\n        hist = hist_dens\n    if hist_kwargs.pop(\"cumulative\", False):\n        hist = np.cumsum(hist)\n        hist /= hist[-1]\n    if values.dtype.kind == \"i\":\n        edges = edges.astype(float) - 0.5\n\n    if is_circular:\n        if is_circular == \"degrees\":\n            edges = np.deg2rad(edges)\n            labels = [\"0°\", \"45°\", \"90°\", \"135°\", \"180°\", \"225°\", \"270°\", \"315°\"]\n        else:\n            labels = [\n                r\"0\",\n                r\"π/4\",\n                r\"π/2\",\n                r\"3π/4\",\n                r\"π\",\n                r\"5π/4\",\n                r\"3π/2\",\n                r\"7π/4\",\n            ]\n\n        delta = np.mean(np.diff(edges) / 2)\n\n        ax.annular_wedge(\n            x=0,\n            y=0,\n            inner_radius=0,\n            outer_radius=hist,\n            start_angle=edges[1:] - delta,\n            end_angle=edges[:-1] - delta,\n            direction=\"clock\",\n            **hist_kwargs,\n        )\n\n        ax = set_bokeh_circular_ticks_labels(ax, hist, labels)\n    elif rotated:\n        ax.quad(top=edges[:-1], bottom=edges[1:], left=0, right=hist, **hist_kwargs)\n    else:\n        ax.quad(top=hist, bottom=0, left=edges[:-1], right=edges[1:], **hist_kwargs)\n\n    return ax",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Project source file, bokeh",
      "display": "arviz/plots/backends/bokeh/distplot.py",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Project full_name, bokeh",
      "display": "arviz-devs/arviz",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Project stargazers_count, bokeh",
      "display": "1.9K",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Library name, plotnine",
      "display": "plotnine",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Monthly downloads, plotnine",
      "display": "1.7M",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "License, plotnine",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Package release, plotnine",
      "display": "0.15.9",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Package release date, plotnine",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Install, plotnine",
      "display": "pip install plotnine",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Quickstart, plotnine",
      "display": "from plotnine import ggplot, aes, geom_point\nfrom plotnine.data import mtcars\nplot = ggplot(mtcars, aes('wt', 'mpg')) + geom_point()\nplot.show()\n",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Official description, plotnine",
      "display": "Implements a grammar of graphics for Python.",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Quickstart source file, plotnine",
      "display": "README.md (API recipe)",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Repository stars, plotnine",
      "display": "4.8K",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Interactive HTML export, plotnine",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "PNG export, plotnine",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Chart model, plotnine",
      "display": "Grammar-of-graphics layers rendered by Matplotlib",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Project function, plotnine",
      "display": "def get_plot(theme=\"default\"):\n    \"\"\"Returns a Plotnine Figure\"\"\"\n    plt.style.use(\"default\")\n    if theme == \"dark\":\n        plotnine_theme = themes.theme_dark() + themes.theme(\n            plot_background=element_rect(fill=\"black\", alpha=0)\n        )\n    else:\n        plotnine_theme = themes.theme_xkcd()\n\n    plot = (\n        (\n            ggplot(mtcars, aes(\"wt\", \"mpg\", color=\"factor(gear)\"))\n            + geom_point()\n            + stat_smooth(method=\"lm\")\n            + facet_wrap(\"~gear\")\n        )\n        + plotnine_theme\n        + themes.theme(figure_size=(16, 8))\n    )\n    return plot.draw()",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Project source file, plotnine",
      "display": "examples/lib_plotnine.py",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Project full_name, plotnine",
      "display": "awesome-panel/awesome-panel",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Project stargazers_count, plotnine",
      "display": "354",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Library name, pyqtgraph",
      "display": "PyQtGraph",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Monthly downloads, pyqtgraph",
      "display": "1.0M",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "License, pyqtgraph",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Package release, pyqtgraph",
      "display": "0.14.0",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Package release date, pyqtgraph",
      "display": "Nov 2025",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Install, pyqtgraph",
      "display": "pip install pyqtgraph PySide6",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Quickstart, pyqtgraph",
      "display": "import pyqtgraph as pg\napp = pg.mkQApp()\nplot = pg.plot([1, 2, 3], [1, 4, 9])\npg.exec()\n",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Official description, pyqtgraph",
      "display": "Provides scientific graphics and GUI tools for Python.",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Quickstart source file, pyqtgraph",
      "display": "getting_started/how_to_use (API recipe)",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Repository stars, pyqtgraph",
      "display": "4.4K",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Interactive HTML export, pyqtgraph",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "PNG export, pyqtgraph",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Runtime model, pyqtgraph",
      "display": "Qt-native scientific plotting widgets",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Library name, pyecharts",
      "display": "pyecharts",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Monthly downloads, pyecharts",
      "display": "823.9K",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "License, pyecharts",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Package release, pyecharts",
      "display": "2.1.0",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Package release date, pyecharts",
      "display": "Feb 2026",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Install, pyecharts",
      "display": "pip install pyecharts",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Quickstart, pyecharts",
      "display": "from pyecharts.charts import Bar\nbar = Bar().add_xaxis(['A', 'B']).add_yaxis('Count', [1, 3])\nbar.render('chart.html')\n",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Official description, pyecharts",
      "display": "Builds charts from Python options.",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Quickstart source file, pyecharts",
      "display": "README.en.md (API recipe)",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Repository stars, pyecharts",
      "display": "15.8K",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Interactive HTML export, pyecharts",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "PNG export, pyecharts",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Runtime model, pyecharts",
      "display": "Python configuration and HTML rendering for ECharts",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Project function, pyecharts",
      "display": "def bar(\n    labels: typing.Union[typing.List[typing.Union[str, int]], Labels],\n    series: typing.Union[typing.List[typing.Union[int, float]], Series],\n    y_series_name: str = \"\",\n    y_axis_name: str = \"億\",\n    yaxis_color: str = \"#dca540\",\n    title: str = \"title\",\n    width: str = \"800px\",\n    height: str = \"600px\",\n    filename: str = \"bar.html\",\n):\n    \"\"\"plot bar\n    :param: bar_plot_data (:obj:FinMind.BarPlotSchema)\n    BarPlotSchema(labels=labels, series=series)\n    :param: y_series_name (str) default ''\n    :param: y_axis_name (str) default \"億\"\n    :param: yaxis_color (str) default \"#dca540\"\n    :param: title (str) default \"title\"\n    :param: width (str) default \"800px\"\n    :param: height (str) default \"600px\"\n    :param: filename (str) default \"bar.html\", output filename\n\n    :return: display bar\n    :rtype pyecharts.charts.Bar\n    \"\"\"\n    labels, series = convert_labels_series_schema(labels, series)\n    bar_plot = (\n        Bar(opts.InitOpts(width=width, height=height))\n        .add_xaxis(labels.labels)\n        .add_yaxis(\n            series_name=y_series_name,\n            y_axis=series.series,\n            itemstyle_opts=opts.ItemStyleOpts(color=yaxis_color),\n        )\n        .set_global_opts(\n            title_opts=opts.TitleOpts(title=title),\n            datazoom_opts=[\n                opts.DataZoomOpts(xaxis_index=[0]),\n                opts.DataZoomOpts(xaxis_index=[0], type_=\"inside\"),\n            ],\n            yaxis_opts=opts.AxisOpts(\n                axislabel_opts=opts.LabelOpts(\n                    formatter=f\"{{value}}{y_axis_name}\"\n                ),\n            ),\n            tooltip_opts=opts.TooltipOpts(\n                trigger=\"axis\", axis_pointer_type=\"cross\"\n            ),\n        )\n        .set_series_opts(\n            markpoint_opts=opts.MarkPointOpts(),\n        )\n    )\n    bar_plot.render(filename)\n    display(HTML(filename=filename))\n    return bar_plot",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "Project source file, pyecharts",
      "display": "FinMind/plotting/bar.py",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "Project full_name, pyecharts",
      "display": "FinMind/FinMind",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Project stargazers_count, pyecharts",
      "display": "2.9K",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best Python charting libraries Matplotlib Plotly Bokeh Altair plotting data visualization code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
