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.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

sliderplot-0.0.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sliderplot-0.0.2.tar.gz
  • Upload date:
  • Size: 4.3 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.2.tar.gz
Algorithm Hash digest
SHA256 3ea1a9487e99287f2ecfe332fe9bdb074e35213776d519e2c2e60a051ec1b3b0
MD5 a9efe859594fa3bbebca5ff0d7551981
BLAKE2b-256 c997b79be594d5c1747412fcb30ee8ec18ca31b456828858971454f190f7617d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sliderplot-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 da4506ff0bc150b8df562425eddbd6204690630a4752ac082a4b814bb9348886
MD5 4b5ae3eab0ea59df405a32dce30e736f
BLAKE2b-256 5eab394cd0b404aa1a92c46a753cf9f3201fd710ec2e579d638a01be4d3036b6

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