blume


Nameblume JSON
Version 0.2.7 PyPI version JSON
download
home_pagehttps://github.com/swfiua/blume
SummaryBetter looking tables for matplotlib
upload_time2024-11-02 16:00:37
maintainerNone
docs_urlNone
authorThe Matplotlib Team, John Hunter, Johnny Gill
requires_pythonNone
licenseMatplotlib
keywords matplotlib table
VCS
bugtrack_url
requirements matplotlib
Travis-CI No Travis.
coveralls test coverage No coveralls.
            =======
 Blume
=======

Better Looking Universal Matplotlib Engine.

Blume provides a replacement for the matplotlib table module.

Displaying data as tables in matplotlib.

It fixes a number of issues with the existing table and has:

* more reliable code for automatically setting the font size to make
  best use of the space available.

* Padding between text and the cell edges which works better across a
  range of text sizes.

* First row of cell data is now row 0 regardless of whether the table
  has a row header.  The row header is row -1.

* New options to allow cell edge colours to be specified.  

To use the new table, just import `blume.table` and use that to
create your tables instead of the `matplotlib.table.table`.
  
::

   from blume import table

   tab = table(ax, ..)


The first parameter to table should be an *matplotlib.axes*.

If you are using the *pyplot* interface, note that calling
*pyplot.table* will use `matplotlib.table.table`.

Instead import table from blume and use as follows::

  from blume.table import table
  tab = table(plt.gca(), ...)


And lots more
=============

The general theme is how to create generic tools to explore tables of
data, visualising the data with *matplotlib*.

Tools that also help with managing open data.

For small datasets, there is an evolving example of working with
simple csv files, stored in a git repository.   See `blume.examples.ocixx`.

Install
=======

From source code
----------------

Get the latest code::

  git clone http://github.com/swfiua/blume

Instal::

  python setup.py install


Using pip::

  pip3 install blume


Examples
========

The *blume/examples* folder has a number of demonstrations of what can be
done with this table.

You can run these with python3:

    python3 -m blume.example.cpr

Or you can run a folder full of examples by using `blume.eggshow`.
    

Requirements
============

The package will only require an *appropriate* version of matplotlib.

This is to make it easy for anyone who is only here for the table.


Universal
=========

The U in `blume`.

This for now is the `blume.cpr` module.

Testing
=======

Run tests using::

  pytest tests



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/swfiua/blume",
    "name": "blume",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "matplotlib table",
    "author": "The Matplotlib Team, John Hunter, Johnny Gill",
    "author_email": "swfiua@gmail.com",
    "download_url": null,
    "platform": null,
    "description": "=======\n Blume\n=======\n\nBetter Looking Universal Matplotlib Engine.\n\nBlume provides a replacement for the matplotlib table module.\n\nDisplaying data as tables in matplotlib.\n\nIt fixes a number of issues with the existing table and has:\n\n* more reliable code for automatically setting the font size to make\n  best use of the space available.\n\n* Padding between text and the cell edges which works better across a\n  range of text sizes.\n\n* First row of cell data is now row 0 regardless of whether the table\n  has a row header.  The row header is row -1.\n\n* New options to allow cell edge colours to be specified.  \n\nTo use the new table, just import `blume.table` and use that to\ncreate your tables instead of the `matplotlib.table.table`.\n  \n::\n\n   from blume import table\n\n   tab = table(ax, ..)\n\n\nThe first parameter to table should be an *matplotlib.axes*.\n\nIf you are using the *pyplot* interface, note that calling\n*pyplot.table* will use `matplotlib.table.table`.\n\nInstead import table from blume and use as follows::\n\n  from blume.table import table\n  tab = table(plt.gca(), ...)\n\n\nAnd lots more\n=============\n\nThe general theme is how to create generic tools to explore tables of\ndata, visualising the data with *matplotlib*.\n\nTools that also help with managing open data.\n\nFor small datasets, there is an evolving example of working with\nsimple csv files, stored in a git repository.   See `blume.examples.ocixx`.\n\nInstall\n=======\n\nFrom source code\n----------------\n\nGet the latest code::\n\n  git clone http://github.com/swfiua/blume\n\nInstal::\n\n  python setup.py install\n\n\nUsing pip::\n\n  pip3 install blume\n\n\nExamples\n========\n\nThe *blume/examples* folder has a number of demonstrations of what can be\ndone with this table.\n\nYou can run these with python3:\n\n    python3 -m blume.example.cpr\n\nOr you can run a folder full of examples by using `blume.eggshow`.\n    \n\nRequirements\n============\n\nThe package will only require an *appropriate* version of matplotlib.\n\nThis is to make it easy for anyone who is only here for the table.\n\n\nUniversal\n=========\n\nThe U in `blume`.\n\nThis for now is the `blume.cpr` module.\n\nTesting\n=======\n\nRun tests using::\n\n  pytest tests\n\n\n",
    "bugtrack_url": null,
    "license": "Matplotlib",
    "summary": "Better looking tables for matplotlib",
    "version": "0.2.7",
    "project_urls": {
        "Homepage": "https://github.com/swfiua/blume"
    },
    "split_keywords": [
        "matplotlib",
        "table"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0aeae73a67c7fa8b80416ef161eb53d9eceb2d11038fdf7699112b5ef6027e02",
                "md5": "8bd0e83676a4b05f1d426bcafae19680",
                "sha256": "bee6bfd83d0a0fef3c1be9d226a4e272ac25e926d1c951a8394d1acf53115a61"
            },
            "downloads": -1,
            "filename": "blume-0.2.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8bd0e83676a4b05f1d426bcafae19680",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 94099,
            "upload_time": "2024-11-02T16:00:37",
            "upload_time_iso_8601": "2024-11-02T16:00:37.698638Z",
            "url": "https://files.pythonhosted.org/packages/0a/ea/e73a67c7fa8b80416ef161eb53d9eceb2d11038fdf7699112b5ef6027e02/blume-0.2.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-02 16:00:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "swfiua",
    "github_project": "blume",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "matplotlib",
            "specs": [
                [
                    ">=",
                    "3.1"
                ]
            ]
        }
    ],
    "lcname": "blume"
}
        
Elapsed time: 0.53682s