{"repo":"best-practice-and-impact/afcharts-py","free":true,"listed":false,"github":"https://github.com/best-practice-and-impact/afcharts-py","clone":"git clone https://github.com/best-practice-and-impact/afcharts-py.git","description":"A Python package for creating accessible charts following Government Analysis Function guidance","language":"Python","stars":14,"topics":["accessibility","data-visualization"],"license":"MIT","category":"analytics","readme_excerpt":"afcharts-py Overview The afcharts python package helps make accessible Matplotlib and Plotly charts following Government Analysis Function Data Visualisation guidance: - Automatic chart formatting with pre-built style sheets for Matplotlib and Plotly - Chart colours from the Analysis Function accessible colour palettes - Example code for common chart types in the cookbook Looking for the R version? Check out the afcharts R package. Installation afcharts is available at the Python Package Index (PyPI): or see the alternative installation instructions. Usage Format any Matplotlib or Plotly chart in the Analysis Function style using the built-in style sheets. See the Getting Started guide for more options and the cookbook for extensive examples. Matplotlib Example: A Matplotlib bar chart with afcharts (left) and without (right) Plotly Example: A Plotly bar chart with afcharts (left) and without (right) Colours Easily return a list of colours from any of the Analysis Function accessible colour palettes with the get af colours() function: Getting help If you encounter a bug, please file a minimal reproducible example on Github Issues. For questions and other discussion, please start a discussion. Contributing Interested in contributing? Check out the contributing guidelines. Acknowledgments The afcharts python package is based on the afcharts R package and the py-af-colours package. License Unless stated otherwise, the codebase is released under the MIT License. This covers both t","default_branch":null,"files":null,"tree":[],"storefront":"/r/best-practice-and-impact","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/best-practice-and-impact/afcharts-py/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}