![]() |
Prerequisites: pygal Pygal is a graphics and user interface library for Python that provides functionality commonly required in designing and science applications. While making a plot it is important for us to optimize its size. In this article, we will see how we can resize the plot window in the Pygal module. Here are various ways to change the default plot size as per our required dimensions or resize a given plot. Approach:
Implementation of the concept discussed above is given below: Example 1: Python3
Output: Example 2: Python3
Output: Example 3: Python3
Output: |
Reffered: https://www.geeksforgeeks.org
Python |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 10 |