# Readme of `yasiu-vis`
High level functions, to quickly visualise data frames.
# Installation
```shell
pip install yasiu-vis
```
# Package Contains
- **ykeras**: Visualisation made for keras.Model
- **ypandas**: Visualisation made for pandas.DataFrame
# Examples
## Pandas - Drawing data frame
```py
from yasiu_vis.ypandas import summary_plot
# df: pandas.DataFrame
summary_plot(df)
summary_plot(df, group="column-name")
summary_plot(
df, group_key='petal width (cm)', max_groups=4,
plot_params=dict(alpha=0.7), legend_place='subplot'
)
```
![Summary Plot](./pics/summaryPlot.png)
## Keras - Ploting Neural Network layers
```py
from yasiu_vis.ykeras import plotLayersWeights
from matpotlib import pyplot as plt
import keras
model : keras.models.Sequential # Keras compiled model
plotLayersWeights(model.layers, innerCanvas=1, figsize=(20, 15), dpi=70, scaleWeights=1000)
plt.subplots_adjuts(wspace=0.1, top=0.95)
# Adjust values per model and plot size
plt.tight_layout()
# use all space in figure
plt.show()
```
![Keras Weights](./pics/kerasLayers.png)
# All packages
[1. Native Package](https://pypi.org/project/yasiu-native/)
[2. Math Package](https://pypi.org/project/yasiu-math/)
[3. Image Package](https://pypi.org/project/yasiu-image/)
[4. Visualisation Package](https://pypi.org/project/yasiu-vis/)
Raw data
{
"_id": null,
"home_page": null,
"name": "yasiu-vis",
"maintainer": "Grzegorz Krug",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "kruggrzegorz@gmail.com",
"keywords": "numpy, pandas, matplotlib, pyplot, visualisation, dataframe",
"author": "Grzegorz Krug",
"author_email": "kruggrzegorz@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/10/2d/0113f8f43a05dabc04fc99e01db555a1f2d2eb7ea9813177c4668fadc965/yasiu_vis-0.5.0.tar.gz",
"platform": null,
"description": "# Readme of `yasiu-vis`\n\nHigh level functions, to quickly visualise data frames.\n\n# Installation\n\n```shell\npip install yasiu-vis\n```\n# Package Contains\n- **ykeras**: Visualisation made for keras.Model\n- **ypandas**: Visualisation made for pandas.DataFrame\n\n# Examples\n\n## Pandas - Drawing data frame\n\n```py\nfrom yasiu_vis.ypandas import summary_plot\n\n\n# df: pandas.DataFrame\n\nsummary_plot(df)\nsummary_plot(df, group=\"column-name\")\nsummary_plot(\n df, group_key='petal width (cm)', max_groups=4,\n plot_params=dict(alpha=0.7), legend_place='subplot'\n)\n```\n![Summary Plot](./pics/summaryPlot.png)\n\n## Keras - Ploting Neural Network layers\n```py\nfrom yasiu_vis.ykeras import plotLayersWeights\nfrom matpotlib import pyplot as plt\nimport keras\n\nmodel : keras.models.Sequential # Keras compiled model\n\nplotLayersWeights(model.layers, innerCanvas=1, figsize=(20, 15), dpi=70, scaleWeights=1000)\nplt.subplots_adjuts(wspace=0.1, top=0.95)\n# Adjust values per model and plot size\nplt.tight_layout()\n# use all space in figure\nplt.show()\n```\n\n![Keras Weights](./pics/kerasLayers.png)\n\n# All packages\n\n[1. Native Package](https://pypi.org/project/yasiu-native/)\n\n[2. Math Package](https://pypi.org/project/yasiu-math/)\n\n[3. Image Package](https://pypi.org/project/yasiu-image/)\n\n[4. Visualisation Package](https://pypi.org/project/yasiu-vis/)\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "High level, simple data visualisation",
"version": "0.5.0",
"project_urls": {
"1. Native Package": "https://pypi.org/project/yasiu-native/",
"2. Math Package": "https://pypi.org/project/yasiu-math/",
"3. Image Package": "https://pypi.org/project/yasiu-image/",
"4. Visualisation Package": "https://pypi.org/project/yasiu-vis/",
"5. Source Code": "https://github.com/GrzegorzKrug/yasiu-vis"
},
"split_keywords": [
"numpy",
" pandas",
" matplotlib",
" pyplot",
" visualisation",
" dataframe"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b691ab960db6b0e5c78ed279fb7d3006afb334652bb5aa3561ae6159c96d09a5",
"md5": "3d35bcd01e156ded828a50a4bcee2fca",
"sha256": "bca8ceb14fda827cbb483a8fea14b40be128fdb7201175d796c28791239a266e"
},
"downloads": -1,
"filename": "yasiu_vis-0.5.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3d35bcd01e156ded828a50a4bcee2fca",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 9722,
"upload_time": "2024-12-21T12:42:26",
"upload_time_iso_8601": "2024-12-21T12:42:26.208125Z",
"url": "https://files.pythonhosted.org/packages/b6/91/ab960db6b0e5c78ed279fb7d3006afb334652bb5aa3561ae6159c96d09a5/yasiu_vis-0.5.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "102d0113f8f43a05dabc04fc99e01db555a1f2d2eb7ea9813177c4668fadc965",
"md5": "6d95d8d4e662737585f751c71e266705",
"sha256": "07e4121bd8ebca979bb4c1f5ea7ba2818d13346418f552feb0e55572c206a8fb"
},
"downloads": -1,
"filename": "yasiu_vis-0.5.0.tar.gz",
"has_sig": false,
"md5_digest": "6d95d8d4e662737585f751c71e266705",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 12499,
"upload_time": "2024-12-21T12:42:28",
"upload_time_iso_8601": "2024-12-21T12:42:28.250056Z",
"url": "https://files.pythonhosted.org/packages/10/2d/0113f8f43a05dabc04fc99e01db555a1f2d2eb7ea9813177c4668fadc965/yasiu_vis-0.5.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-21 12:42:28",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "GrzegorzKrug",
"github_project": "yasiu-vis",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "yasiu-vis"
}