aesthetic


Nameaesthetic JSON
Version 0.6 PyPI version JSON
download
home_pagehttps://github.com/lgbouma/aesthetic
Summarya e s t h e t i c
upload_time2022-09-04 21:25:52
maintainer
docs_urlNone
authorLuke Bouma
requires_python
licenseMIT
keywords astronomy matplotlib-style-sheets
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # a e s t h e t i c

Style-related tools that I re-use across projects in astronomy.

Most relevant are the style sheets, which produce default plots as in the
`/results/` directory.

__install__

_Option 1_: `pip install aesthetic`

_Option 2_: Clone + `python setup.py install` from the repo. (or develop!)

__contents__

`aesthetic.plot`
* `set_style`
* `set_style_scatter`
* `savefig`
* `format_ax`

`aesthetic.paper`
* `abbreviate_the_bibliography`

__usage examples__

for plot styles, see the [test driver](https://github.com/lgbouma/aesthetic/blob/master/tests/make_test_plot.py).
the general syntax follows:

```
from aesthetic.plot import set_style
set_style("science")
```

<img src="https://github.com/lgbouma/aesthetic/blob/master/results/plot_science.png" width="500">

```
set_style("clean")
```

<img src="https://github.com/lgbouma/aesthetic/blob/master/results/plot_clean.png" width="500">
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/lgbouma/aesthetic",
    "name": "aesthetic",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "astronomy,matplotlib-style-sheets",
    "author": "Luke Bouma",
    "author_email": "bouma.luke@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/1b/1f/47e5ad2fd0fa1e37f46c578a18d26e8176140ba0c39b92fb0b3f1e186d6f/aesthetic-0.6.tar.gz",
    "platform": null,
    "description": "# a e s t h e t i c\n\nStyle-related tools that I re-use across projects in astronomy.\n\nMost relevant are the style sheets, which produce default plots as in the\n`/results/` directory.\n\n__install__\n\n_Option 1_: `pip install aesthetic`\n\n_Option 2_: Clone + `python setup.py install` from the repo. (or develop!)\n\n__contents__\n\n`aesthetic.plot`\n* `set_style`\n* `set_style_scatter`\n* `savefig`\n* `format_ax`\n\n`aesthetic.paper`\n* `abbreviate_the_bibliography`\n\n__usage examples__\n\nfor plot styles, see the [test driver](https://github.com/lgbouma/aesthetic/blob/master/tests/make_test_plot.py).\nthe general syntax follows:\n\n```\nfrom aesthetic.plot import set_style\nset_style(\"science\")\n```\n\n<img src=\"https://github.com/lgbouma/aesthetic/blob/master/results/plot_science.png\" width=\"500\">\n\n```\nset_style(\"clean\")\n```\n\n<img src=\"https://github.com/lgbouma/aesthetic/blob/master/results/plot_clean.png\" width=\"500\">",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "a e s t h e t i c",
    "version": "0.6",
    "project_urls": {
        "Download": "https://github.com/lgbouma/aesthetic/archive/refs/tags/v06.tar.gz",
        "Homepage": "https://github.com/lgbouma/aesthetic"
    },
    "split_keywords": [
        "astronomy",
        "matplotlib-style-sheets"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1b1f47e5ad2fd0fa1e37f46c578a18d26e8176140ba0c39b92fb0b3f1e186d6f",
                "md5": "66511380cf0a54b584ac51b381dc567d",
                "sha256": "d3394101c8d04fbb640930f96d2fb74519c0472064de88c05848f24b918e3a0d"
            },
            "downloads": -1,
            "filename": "aesthetic-0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "66511380cf0a54b584ac51b381dc567d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 474189,
            "upload_time": "2022-09-04T21:25:52",
            "upload_time_iso_8601": "2022-09-04T21:25:52.733870Z",
            "url": "https://files.pythonhosted.org/packages/1b/1f/47e5ad2fd0fa1e37f46c578a18d26e8176140ba0c39b92fb0b3f1e186d6f/aesthetic-0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-09-04 21:25:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "lgbouma",
    "github_project": "aesthetic",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "aesthetic"
}
        
Elapsed time: 9.52625s