Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

iwx

iwx is a collection of enhanced controls for wxPython

Mini-Demos

Plot module

# -*- coding: utf-8 -*-
"""
Plotting in wxPython like Matplotlib
"""

import numpy as np
import wx
from iwx.plot import Figure, Axes


def test():
    n = 100 # Number of points
    x = np.linspace(0,3*np.pi,n)
    y1 = np.cos(x) + np.random.random(n)
    y2 = np.sin(x) + np.random.random(n)

    fig = Figure()
    ax = fig.add_axes()
    ax.plot(x,y1, color="#00ffff", legend="Y1", width=2)
    ax.plot(x,y2, color="#ff00ff", legend="Y2", width=3)
    ax.set_xlabel("X")
    ax.set_ylabel("y")
    ax.set_title("Graphics")
    ax.grid()
    ax.legend()
    fig.show()

if __name__ == '__main__':
    app = wx.App()
    test()
    app.MainLoop()

and obtains:

examples/images/plot.PNG

Installation

Using pip

pip install iwx

Metadata

Release files for iwx 0.1.0.dev1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iwx 0.1.0.dev1
File Size Uploaded Provenance Actions
iwx-0.1.0.dev1.zip 14.7 kB Without provenance Details for iwx-0.1.0.dev1.zip

Release files / iwx-0.1.0.dev1.zip

Download URL iwx-0.1.0.dev1.zip
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f689df99b819f8118ca52dfa854acdf2c3f82f3a0e682d628b1f6a1fe9ccfcab
BLAKE2b-256 checksum
How to use checksums
4b2bc4d3e019017a4600ab05e4e0eaeff2302e675852a6046537b4334868670f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for iwx 0.1.0.dev1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page