- 03 Feb, 2017 1 commit
-
-
Yori 'AGy' Fournier authored
It is now possible to interactively design plots from text files. The file is going to be read and executes part of it as the place of key function of FigDesign and AxDesign Both of these classes are simulating behavior in an interactive environment. The result can be saved under the form of classes with the tool savePlot.
-
- 02 Feb, 2017 1 commit
-
-
Yori 'AGy' Fournier authored
the structure is ready but not yet organized AxFullDesign FigFullDesign myDesignTool
-
- 31 Jan, 2017 4 commits
-
-
Yori 'AGy' Fournier authored
add a check status after MyFig::plot such that is the ax can not format the data it return false and the false status is given to plot.
-
Yori Fournier authored
Commenting renaming See merge request !18
-
Yori Fournier authored
FEATURE: as seen See merge request !17
-
Yori 'AGy' Fournier authored
now you can create a figure interactively, modify it and save it into a file thanks to fig.print2file(<file-name>, as_seen = True) without as_seen keyword the print2file function will recall fig.plot and by this mean clean the axes and redraw them as defined in the FigClass
-
- 30 Jan, 2017 7 commits
-
-
Yori 'AGy' Fournier authored
modify the tests 200, 308 and 309, such that they won't fail because of the new debugging feature.
-
Yori 'AGy' Fournier authored
I renamed defineKeywords as declareKeywords better name for what is does. I also add a debugging alt for the Axes such that if you get >> "SomeAxes could not be formatted" you can set debug to True and get the real error message.
-
Yori Fournier authored
Commenting renaming See merge request !16
-
Yori 'AGy' Fournier authored
just one more comment to make a clear distiction between updating the keywords and deleting them.
-
Yori 'AGy' Fournier authored
i renamed _userAttributesKeys to _attributesToUpdateKeys because this is what they are. the attribute in this list are updated by the function update noyhing eslse. i also renamed rdict as rest, for two reasons, first the python standars suggests to avoid types in names (unnecessary information) and 'r' was not telling anything. rest seems to be appropriate since it represent the rest of keywords from kwargs. I also add a second condition for printing debug info in update: the rest dict0 should not be empty, again would be too much info.
-
Yori Fournier authored
cleaned up myFig_base init. myFig.update now prints the unknown keywords in debug mode. Closes #20 See merge request !15
-
Philipp Gast authored
-
- 27 Jan, 2017 2 commits
-
-
Yori Fournier authored
issue #23: CLEANING See merge request !14
-
Yori 'AGy' Fournier authored
Now when creating an Axes the __init__ function does not need to be overwritten, just plotting and formatRawData.
-
- 26 Jan, 2017 2 commits
-
-
Yori Fournier authored
Add tests See merge request !13
-
Yori 'AGy' Fournier authored
add the Tests for myTool, see test500, 501, 502, 503, 504, 505, 506, 507 and 508. I also added two functions in myTools: window_exists and getCurrentWindowIDs. corrected the bug that prevent fig.fignum to be actualized. It came from MyWin still using fig.keywords['fignum'] instead of fig.fignum. rmrk: in python fig.dict['key'] = value will not rise an error even if key does not exists.
-
- 24 Jan, 2017 2 commits
-
-
Yori 'AGy' Fournier authored
not yet working version. Still making the tests of myTool.py, but I check the relevance of the former tests and add some few corrections. Now it sounds ok.
-
Yori Fournier authored
Update bugfix into add-tests See merge request !12
-
- 23 Jan, 2017 2 commits
-
-
Yori Fournier authored
BUGFIX: formatted not updated in set_rawdata See merge request !11
-
Yori 'AGy' Fournier authored
When the rawdata were set in MyFig::set_rawdata I forgot to add self.formatted = False before self.formatRawData and therefore if self.reformat was set to false the data were not reformatted... also add some debug info.
-
- 22 Jan, 2017 6 commits
-
-
Yori 'AGy' Fournier authored
Now version with new organisation of the module, tests go throught, but may need check relevance and new tests are required
-
Yori Fournier authored
corrected the BUG Figure.__init__ was complaining from user arguments See merge request !10
-
Yori 'AGy' Fournier authored
-
Yori Fournier authored
I now separates between MyFig and MyFig_base. MyFig_base can be used by overwrit… See merge request !9
-
Yori 'AGy' Fournier authored
I now separates between MyFig and MyFig_base. MyFig_base can be used by overwritting the __init__ function and the plot function, very much like in v1.0.0, you just don't need update, remark the axes should be created in __init__ not in plot. The MyFig class however is smarter, and the user just need to overwrite defineKeywords and addAxes, yes, you don't need __init__! as their names suggests in defineKeywords you should update self.keywords, in addAxes you should add the objects MyAxes. Now the figure object reads a tuple of data object as argument (not optional anymore) each index for the axes. This behaviour can be overwritten in the function MyFig::formatRawdata, and MyFig::set_rawdata. Remark now the MyFig_base keywords became attributes: self.keywords['fignum'] -> self.fignum...
-
Yori Fournier authored
Some testing for myguilib See merge request !8
-
- 20 Jan, 2017 2 commits
-
-
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.
-
Yori 'AGy' Fournier authored
correction of the import bug for Tk
-
- 19 Jan, 2017 4 commits
-
-
Yori Fournier authored
import TK dependent on mpl version See merge request !6
-
Philipp Gast authored
-
Yori 'AGy' Fournier authored
-
Yori 'AGy' Fournier authored
-
- 18 Jan, 2017 7 commits
-
-
Yori 'AGy' Fournier authored
-
Yori 'AGy' Fournier authored
-
Yori Fournier authored
Dev -> undertest: v2.0.0a See merge request !5
-
Yori 'AGy' Fournier authored
-
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 Fournier authored
Verify print2file See merge request !4
-
Yori 'AGy' Fournier authored
Tested WXAgg and GTKAgg, both worked! Modified myFig.print2file to take into account the case when the user put the path into the filename. Make the test for these feature (test306).
-