- 20 Jan, 2017 1 commit
-
-
Yori 'AGy' Fournier authored
mypltlib is now restructured with tests in test. I also changed MyFig and MyAxes such that they can not be used alone. This is done such that now as seen in test figTest1 a figure consists only of an __init__ function. Nothing else is required. I also changed the refresh function of MyWins such that the figure does not destroy it axis but redraw them. So now the axes are create only ones. This has the side effect that when the window is resized the axes ratio is not respected anymore.
-
- 19 Jan, 2017 1 commit
-
-
Philipp Gast authored
-
- 18 Jan, 2017 2 commits
-
-
Yori 'AGy' Fournier authored
while merging I recognised that I could avoid the issue in replacing the canvas of the figure while MyFig::print2file by storing it in a local value now called winCanvas. Therefore the rebounding in MyWin::refresh is not necessary anymore. I add a warning message incase such situation happend. This should not be!
-
Yori 'AGy' Fournier authored
add print2file in MyFig class, tested it (test302, 303, 304, 305), and verfy that it works in combinasion with MyWin see test403. modified print2file in myTool (untested) and only TkAgg has been tested but WXAgg and GTKAgg are also implemented.
-
- 17 Jan, 2017 2 commits
-
-
Yori 'AGy' Fournier authored
-
Yori 'AGy' Fournier authored
-
- 15 Jan, 2017 1 commit
-
-
Yori 'AGy' Fournier authored
Rewrote myWin as three different classes depending on the backend changed the imports in __init__ to make it cleaner.
-
- 14 Jan, 2017 1 commit
-
-
Yori 'AGy' Fournier authored
-
- 13 Jan, 2017 1 commit
-
-
Yori 'AGy' Fournier authored
-
- 12 Jan, 2017 1 commit
-
-
Yori 'AGy' Fournier authored
This version is object oriented, the interactive mode is now ready and seems to work. It requires more testing though. In anycase tests have to be added. myTool may also be removed, and another class MyCanvasToPrint may be created instead of the print2file function. MyWin.py should be commented and a header is needed, as well as a correction of the other headers. remarks: the default value of fignum may be removed and set to -1 hard coded (indeed another number may lead to truble in interactive mode)
-