Metadata-Version: 2.1
Name: beautifyPlot
Version: 0.0.1
Summary: A matplotlib wrapper to make plotting easier.
Author-email: "Keerthi Vasan G.C." <kvch@ucdavis.edu>
Project-URL: Homepage, https://github.com/kvgc/beautifyPlot
Project-URL: Issues, https://github.com/kvgc/beautifyPlot/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# beautifyPlot
A matplotlib wrapper to make plotting easier. 


## Installation

`pip install beautifyPlot`


## Usage 

Using matplotlib:

```python
import numpy as np
import matplotlib.pyplot as plt
x = np.arange(0,100,1)
y = x**3

plt.plot(x,y,label='y=f(x)')
plt.title("test plot")
plt.xlim([0,10])
plt.ylim([0,1000])
plt.legend(fontsize=15)
plt.tight_layout()



```
Using beautifyPlot

```python
from beautifyPlot import beautifyPlot
import numpy as np
x = np.arange(0,100,1)
y = x**3

plt.plot(x,y,label='y=f(x)')

beautifyPlot({
    'title':['test plot'], ## Use list to pass a set of arguments to the function
    'xlim':[0,10],
    'ylim':[0,1000],  
    'legend':{'fontsize':15}, ## Use dictionary to specify arguments
    'tight_layout':[] ## Leave list empty if there is nothing to pass 
})


```
