.. SPDX-License-Identifier: BSD-2-Clause
   Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org

.. _ex_polars_chart:

Example: Polars Excel output with a chart
=========================================

An example of adding a Polars dataframe to a worksheet created by XlsxWriter and
then adding a chart of the data. See :ref:`ewx_polars` for more details.

.. image:: _images/polars_chart.png

.. literalinclude:: ../../../examples/polars_chart.py
