Skip to main content

Turn a function into an interactive plot with a single line of code

Project description

sliderplot

Turn a function into an interactive plot with a single line of code.

demo

    def f(amplitude=1, frequency=np.pi, phase=np.pi / 2):
        x = np.linspace(0, 10, 1000)
        y = amplitude * np.sin(frequency * x + phase)
        return x, y


    sliderplot(f, params_bounds=((0, 10), (0, 10 * np.pi), (0, 2 * np.pi)), show=True)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sliderplot-0.0.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

sliderplot-0.0.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file sliderplot-0.0.1.tar.gz.

File metadata

  • Download URL: sliderplot-0.0.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for sliderplot-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5953b8b5c16f2026057a3a0ac21843e4007c6309942d4b7360a9373b57de9538
MD5 23ba1a099bffd23d01ce2757aaa3085d
BLAKE2b-256 a0241e8dc951aa8a63c9c4f6e9b825a28e7b5d643f27c81352ec794ea40b880a

See more details on using hashes here.

File details

Details for the file sliderplot-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: sliderplot-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for sliderplot-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8eb0d6171c7ed956457dd99d8162ee07fdd39f0ca89555f8ede02b6b365c60ed
MD5 06bc61326142827819e1dedead1f1105
BLAKE2b-256 3825fbef25aa84cda6329bc5fd6c0bc398e84301919945f90461418e38d270b9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page