This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

wxPython utilities and enhanced controls

Project Description

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:

Installation

Using pip

pip install iwx
Release History

Release History

This version
History Node

0.1.0.dev1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
iwx-0.1.0.dev1.zip (14.7 kB) Copy SHA256 Checksum SHA256 Source Apr 24, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting