{"repo":"unhcr-dataviz/unhcrpyplotstyle","free":true,"listed":false,"github":"https://github.com/unhcr-dataviz/unhcrpyplotstyle","clone":"git clone https://github.com/unhcr-dataviz/unhcrpyplotstyle.git","description":"Matplotlib style following UNHCR data visualization guidelines","language":"Python","stars":15,"topics":["data-visualization","matplotlib","python","branding","matplotlib-pyplot","matplotlib-style-sheets","unhcr-style"],"license":"MIT","category":"analytics","readme_excerpt":"unhcrpyplotstyle The unhcrpyplotstyle package provides Matplotlib styles following the UNHCR Data Visualization Guidelines, ensuring that charts are professional and brand-compliant. The purpose of this package is to simplify and expedite the chart creation process using Matplotlib custom stylesheets. Getting started The easiest way to install the unhcrpyplotstyle package is by using pip: The pip installation will automatically download and store all Matplotlib custom style files ( .mplstyle) in the appropriate local directory on your computer. Use the styles unhcrpyplotstyle is the base style of this package. It provides basic styles for chart elements such as color, font, font size, and position. To use the base style, you can simply call it from your local style directory after importing the Matplotlib library. Once the base style is applied, you can add a specific style related to the type of chart you want to create by combining two styles together: In this case, the 'column' style will add some parameters to the base style 'unhcrpyplotstyle' to align all chart element styles with a standard UNHCR-style column chart. You can find the full list of styles based on chart types below: - area - bar - bubble - column - connected scatterplot - donut - dotplot - heatmap - histogram - line - linecolumn - lollipop - map - pie - population pyramid - scatterplot - slope - streamgraph - treemap Example The chart with unhcrpyplotstyle + column styles: Find code example for column char","default_branch":null,"files":null,"tree":[],"storefront":"/r/unhcr-dataviz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/unhcr-dataviz/unhcrpyplotstyle/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."}