qtinteract


Nameqtinteract JSON
Version 0.2 PyPI version JSON
download
home_pagehttps://github.com/axil/qtinteract
SummaryFast interactive plots in Jupyter Notebooks using Qt Widgets
upload_time2024-04-26 09:27:52
maintainerNone
docs_urlNone
authorLev Maximov
requires_python>=3.7
licenseMIT License
keywords interactive visualization qt widgets slider
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # qtinteract

A library for building fast interactive plots in Jupyter notebooks using Qt Widgets.

## Installation

    pip install qtinteract

## Usage

```python
    %gui qt5    

    from math import pi
    from qtinteract import iplot

    def f(x, a):
        return np.sin(a*x)

    x = np.linspace(0, 2*pi, 101)

    iplot(x, f, a=(1., 5.))
```
![image](https://github.com/axil/qtinteract/assets/170910/c36fe65e-f0bd-49f5-a6f5-44abdb09a037)

## Troubleshooting

* "Kernel died": you forgot to run `%gui qt5`.

* The window with the plot and the slider does not appear. Look at the taskbar, it might appear behind the browser.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/axil/qtinteract",
    "name": "qtinteract",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "interactive, visualization, qt, widgets, slider",
    "author": "Lev Maximov",
    "author_email": "lev.maximov@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/bc/bc/743da0128d225438b8f013f941932f4895604cd5b5e0139bd60556f6309a/qtinteract-0.2.tar.gz",
    "platform": null,
    "description": "# qtinteract\r\n\r\nA library for building fast interactive plots in Jupyter notebooks using Qt Widgets.\r\n\r\n## Installation\r\n\r\n    pip install qtinteract\r\n\r\n## Usage\r\n\r\n```python\r\n    %gui qt5    \r\n\r\n    from math import pi\r\n    from qtinteract import iplot\r\n\r\n    def f(x, a):\r\n        return np.sin(a*x)\r\n\r\n    x = np.linspace(0, 2*pi, 101)\r\n\r\n    iplot(x, f, a=(1., 5.))\r\n```\r\n![image](https://github.com/axil/qtinteract/assets/170910/c36fe65e-f0bd-49f5-a6f5-44abdb09a037)\r\n\r\n## Troubleshooting\r\n\r\n* \"Kernel died\": you forgot to run `%gui qt5`.\r\n\r\n* The window with the plot and the slider does not appear. Look at the taskbar, it might appear behind the browser.\r\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Fast interactive plots in Jupyter Notebooks using Qt Widgets",
    "version": "0.2",
    "project_urls": {
        "Homepage": "https://github.com/axil/qtinteract"
    },
    "split_keywords": [
        "interactive",
        " visualization",
        " qt",
        " widgets",
        " slider"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e950f16292a10316b33385f8cc6798d10b35c3ccfda12179d464364766d17f47",
                "md5": "6e9c9c18745fce91d0a79b97f081c505",
                "sha256": "13d32347e19cac2b534a1a1e07a2961912e70d47567bc04adec3a5787726fd1b"
            },
            "downloads": -1,
            "filename": "qtinteract-0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6e9c9c18745fce91d0a79b97f081c505",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 6812,
            "upload_time": "2024-04-26T09:27:50",
            "upload_time_iso_8601": "2024-04-26T09:27:50.873378Z",
            "url": "https://files.pythonhosted.org/packages/e9/50/f16292a10316b33385f8cc6798d10b35c3ccfda12179d464364766d17f47/qtinteract-0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bcbc743da0128d225438b8f013f941932f4895604cd5b5e0139bd60556f6309a",
                "md5": "0b9e57f944f55503ceab3791df78b353",
                "sha256": "c0530cf49dc93a5665347e057ff87f8b2101dcf00b4bd72d344359e577a6c8f5"
            },
            "downloads": -1,
            "filename": "qtinteract-0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "0b9e57f944f55503ceab3791df78b353",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 7087,
            "upload_time": "2024-04-26T09:27:52",
            "upload_time_iso_8601": "2024-04-26T09:27:52.503518Z",
            "url": "https://files.pythonhosted.org/packages/bc/bc/743da0128d225438b8f013f941932f4895604cd5b5e0139bd60556f6309a/qtinteract-0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-26 09:27:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "axil",
    "github_project": "qtinteract",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "qtinteract"
}
        
Elapsed time: 0.24026s