mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 04:20:07 +01:00
+ Renamed demo.__test() to demo._test() + Updated __main__ to reflect this change. + Renamed BoxPlot to PolyBoxPlot to maintain uniformity + Added backwards compat for PolyBoxPlot to __init__.py + Updated CHANGELOG.md
47 lines
866 B
Python
47 lines
866 B
Python
# -*- coding: utf-8 -*-
|
|
"""
|
|
wx.lib.plot
|
|
===========
|
|
|
|
This is a simple plotting library for the wxPython Phoenix project.
|
|
|
|
"""
|
|
__version__ = "0.0.1"
|
|
__updated__ = "2016-07-05"
|
|
|
|
# For those who still use ``from package import *`` for some reason
|
|
__all__ = [
|
|
'PolyLine',
|
|
'PolySpline',
|
|
'PolyMarker',
|
|
'PolyBars',
|
|
'PolyHistogram',
|
|
'BoxPlot',
|
|
'PlotGraphics',
|
|
'PlotCanvas',
|
|
'PlotPrintout',
|
|
]
|
|
|
|
# Expose items so that the old API can still be used.
|
|
# Old: import wx.lib.plot as wxplot
|
|
# New: from wx.lib import plot as wxplot
|
|
from .plot import (
|
|
PolyPoints,
|
|
PolyLine,
|
|
PolySpline,
|
|
PolyMarker,
|
|
PolyBars,
|
|
PolyHistogram,
|
|
PolyBoxPlot,
|
|
PlotGraphics,
|
|
PlotPrintout,
|
|
)
|
|
from .plotcanvas import PlotCanvas
|
|
from .utils import (
|
|
TempStyle,
|
|
PendingDeprecation,
|
|
)
|
|
|
|
# For backwards compat.
|
|
BoxPlot = PolyBoxPlot
|