Robin Dunn
0628ade371
typos
2016-07-18 14:38:33 -07:00
Robin Dunn
f3cf957421
Switch to wx.lib.colourselect as the old one previously used here hard crashes on OSX.
2016-07-18 13:00:56 -07:00
Robin Dunn
a6262c53a9
* Switch ColourSelect to derive from GenBitmapButton as it looks and works better on OSX for this task.
...
* Fix docstrings
* Add a way to share custom colour values across instances or invocations of ColourSelect
2016-07-18 12:58:45 -07:00
Robin Dunn
122ad2559b
fix imports, etc. in analogclock
2016-07-16 09:04:13 -07:00
Robin Dunn
67242fb6b4
Add a message dlg explaining how to see the demo samples.
2016-07-16 08:59:38 -07:00
Robin Dunn
128b28c879
Building the docs (build.py wxlib) imports all modules, so we need to avoid import side-effects like starting an application.
2016-07-16 08:58:52 -07:00
Robin Dunn
641aa6e251
Remove an old, unmaintained and broken module.
2016-07-15 17:15:18 -07:00
Robin Dunn
a1083594be
Merge pull request #111 from dougthor42/refactor-lib.plot-part2
...
Additional Refactoring of lib.plot [Part 2: conversion to package]
2016-07-11 09:05:30 -07:00
swprojects
e592026a34
update listctrl
...
change xrange to range
2016-07-09 21:13:41 +01:00
Robin Dunn
07164aba1a
Merge pull request #110 from RobinD42/use-pytest
...
Use pytest for running unittests
2016-07-07 21:38:56 -07:00
Robin Dunn
1d1fc7c187
More docstring ref fixes in wx.lib
2016-07-07 09:58:04 -07:00
Douglas Thor
29d42604ab
docstring updates.
2016-07-07 09:13:21 -07:00
Douglas Thor
3817c4e5e7
Updates to demo.py
...
+ renamed _test() to run_demo().
+ Renamed TestFrame to MainFrame, moved methods into logical blocks.
2016-07-07 09:13:21 -07:00
Douglas Thor
15a8b2d13b
Documentation updates
...
+ Sphinx cross-references and pylint: disable
+ Added __docformat__ and import comments
2016-07-07 09:13:20 -07:00
Douglas Thor
81244b6a7e
Renamed plot.py to polyobjects.py
...
+ Moved DisplaySide, scale_and_shift_point, and set_displayside to utils.py
+ renamed _DisplaySide to DisplaySide
+ renamed _set_displayside to set_displayside
+ updated imports to reflect package rename
+ changed format of imports in __init__.py to be more PEP8-like.
+ updated numpy import exception
+ whitespace cleanups.
2016-07-07 09:13:20 -07:00
Douglas Thor
047da1b885
Class and function renaming.
...
+ 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
2016-07-07 09:13:20 -07:00
Douglas Thor
7da7a52737
Added __main__.py so python -m plot runs demo
2016-07-07 09:13:20 -07:00
Douglas Thor
c34cc76cd6
Moved demos to ./examples
2016-07-07 09:13:20 -07:00
Douglas Thor
a8be4a9e1e
Moved PlotCanvas to its own module: plotcanvas.py
2016-07-07 09:13:19 -07:00
Douglas Thor
c601ec9989
Added simple_example.py
...
+ fixed typo in __init__.py
+ Added x values to box plot legends in demo.py
2016-07-07 09:13:19 -07:00
Douglas Thor
31c35d0cfc
Moved TempStyle, PendingDeprecation to utils.py
2016-07-07 09:13:19 -07:00
Douglas Thor
b6e5d73b42
Moved demo to separate module, replaced cursors for mag and move.
2016-07-07 09:13:19 -07:00
Douglas Thor
91c85b24a9
Updated __init__.py
...
+ old imports are not affected by the new package structure.
2016-07-07 09:13:18 -07:00
Douglas Thor
e80aa821bb
Moved plot.py to plot/plot.py
2016-07-07 09:13:18 -07:00
Douglas Thor
2fd98b724b
Moved changelog and readme to files.
2016-07-07 09:13:18 -07:00
Robin Dunn
c58b9ff859
Merge pull request #113 from DietmarSchwertberger/colourchooser_absolute
...
Colourchooser absolute imports
2016-07-06 20:27:20 -07:00
Robin Dunn
ad8891a0a7
Merge branch 'docs-fixes'
2016-07-06 20:24:07 -07:00
Robin Dunn
cc3190e240
Lots more docstring refs fixed
2016-07-06 20:20:10 -07:00
Robin Dunn
488f29b05a
Fix docstring references to wx.Bitmap
2016-07-06 18:45:16 -07:00
Robin Dunn
4175d35105
Fix docstring references to wx.Colour
2016-07-06 18:40:04 -07:00
Douglas Thor
76a511cada
fixed(?) scaleAndShift, removed SavePen + others
2016-07-06 15:15:46 -07:00
Douglas Thor
25ca1a19b9
Minor doc tweak for BoxPlot
2016-07-06 15:15:46 -07:00
Douglas Thor
3d42be52b8
Updates for BoxPlot
...
+ doc updates
+ NaN and inf are now handled (ignored)
2016-07-06 15:15:46 -07:00
Douglas Thor
5a23e277b6
Switched all new API properties to mixedCase
2016-07-06 15:15:46 -07:00
Douglas Thor
75af89db9a
Even more doc updates.
...
+ Moved class doc from __init__ to class definition.
+ Better formatting, admonitions
+ changed many items to cross-references.
2016-07-06 15:15:45 -07:00
Douglas Thor
a99bdf5ebe
Factored out _set_displayside logic.
2016-07-06 15:15:45 -07:00
Douglas Thor
d751591215
PolyMarker._drawmarkers no longer uses eval()
2016-07-06 15:15:45 -07:00
Douglas Thor
28a2873236
Updated docs for PolyLine
2016-07-06 15:15:45 -07:00
Douglas Thor
674d64f7e0
Updated docs for PolyPoints
2016-07-06 15:15:44 -07:00
Douglas Thor
fc8fe11839
Finally got local sphinx builds working, so now the major doc update begins.
2016-07-06 15:15:44 -07:00
Douglas Thor
b1b309cea6
Documentation updates.
...
+ Removed _update_docs from PendingDeprecation to hopefully fix autodoc gen.
+ currently functions decorated with @PendingDeprecation show up
as "wrapper(*args, **kwargs)" in the generated docs.
2016-07-06 15:15:44 -07:00
Douglas Thor
c8bd440f2e
factored out scale_and_shift_point()
2016-07-06 15:15:44 -07:00
Douglas Thor
6b039cede2
Using dc.DrawLineList, DrawTextList in _drawTicks, _drawAxesValues
2016-07-06 15:15:43 -07:00
Douglas Thor
8cd222414c
fixed typo, updated section comment, added additional demo to _draw1Objects
2016-07-06 15:15:43 -07:00
Douglas Thor
16c373cb96
moved PolyPoints log10 logic to private method. Added PolyPoints._abs()
2016-07-06 15:15:43 -07:00
Douglas Thor
f9ee131513
Fixed most of the max line length issues.
2016-07-06 15:15:43 -07:00
Douglas Thor
dd929bc3ea
Removed duplicate code in PolyBars, PolyHistogram
...
+ Created `PolyBarsBase` class
+ moved duplicate code from PolyBars and PolyHistogram to new PolyBarsBase class
+ _scaleAndShift, getSymExtend moved to parent class.
+ Moved pen and brush customization to parent method.
+ added calc_rect methods
+ switched loops to list comprehension (would like to use generator, but
DrawRectangleList() does not support generators.)
+ replaced bar center calculation with generator expression
+ Updated attributes for PolyBars:
+ individual bar widths can now be set.
+ added error checking on barwidth attribute.
2016-07-06 15:15:43 -07:00
Douglas Thor
f23d833e1e
Added TempStyle combination decorator + context manager.
...
+ took far too long to figure it out... hopefully it's worth it.
[ci skip]
2016-07-06 15:15:42 -07:00
Douglas Thor
7c63db4d26
Added SaveBrush context manager and SavedBrush decorator
...
[ci skip]
2016-07-06 15:15:42 -07:00
DietmarSchwertberger
21d7a8e96a
use absolute imports
2016-07-05 20:30:33 +02:00