1. 08 Mar, 2017 4 commits
    • Philipp Gast's avatar
      added infrastructure in other files · 600008b7
      Philipp Gast authored
      600008b7
    • Yori Fournier's avatar
      Test the compatibility · bf696c84
      Yori Fournier authored
      Now compatible with python2.6
      
      Also tested with matplotlib < 143 test203 fail
      because in that version the function set_xlim was not
      yet existing.
      
      All version of matplotlib < 143 are not considered as stable
      therefore not supported.
      
      I add a message in __init__
      
      I also corrected a bug I added in a former commit:
        I prevent myplotlib.__init__ from importing tests
        but just testList.
      
      This prevented `python myplotlib --test <test name>` to work
      because no tests were in myplotlib.__dict__
      
      So I change the import from:
      from . import __dict__
      to
      from .test import __dict__
      
      Now `python myplotlib --test <test name>` works
      bf696c84
    • Detlef Elstner's avatar
      MacOSX version working and tested · b99a6daa
      Detlef Elstner authored
      test203 failing: error unknown maybe due to matplotlib old version (1.3)
      b99a6daa
    • Yori 'AGy' Fournier's avatar
      First try · 427dcac6
      Yori 'AGy' Fournier authored
      created myWin_MacOsx
      427dcac6
  2. 07 Mar, 2017 1 commit
    • Yori 'AGy' Fournier's avatar
      add test203 and 204 · e9da4e85
      Yori 'AGy' Fournier authored
      test203 tests Axes constructor with direct keywords
      test204 tests Axes.update function
      
      also changed the way myplotlib import tests
      e9da4e85
  3. 03 Mar, 2017 1 commit
  4. 02 Mar, 2017 2 commits
  5. 01 Mar, 2017 2 commits
  6. 16 Feb, 2017 1 commit
  7. 13 Feb, 2017 1 commit
  8. 10 Feb, 2017 1 commit
    • Yori 'AGy' Fournier's avatar
      New frame behaviour: · c69a44cf
      Yori 'AGy' Fournier authored
      now the frame is not the one from the entire Axes, but just of the
      bbox like in matplotlib.
      
      I add two keywords, forceRatioOnHeight/Width these key words
      ignores the Height/Width respectively and compute them
      from the Width/Height and the ratio.
      
      Since the ratio is not needed anymore it may be intersting to put it
      as a optional keyword.
      
      I am also thinking of one keywords:
      FitEntireAxesInFrame, which would fit the entire pictures
      (with axis labels, and ticks label, as well as centered in the frame)
      c69a44cf
  9. 09 Feb, 2017 1 commit
    • Yori 'AGy' Fournier's avatar
      reorganised mytool: · 1402ef8d
      Yori 'AGy' Fournier authored
      Now myTool.py is in the module mytool
      
      mytool contains now 3 more classes:
      - AxOneAxes_base
      - AxOneAxes2D
      - AxOneAxes3D
      
      partially tested, but tests are not yet implemented
      1402ef8d
  10. 30 Jan, 2017 1 commit
    • Yori 'AGy' Fournier's avatar
      renaming and debugging: · 6189dd74
      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.
      6189dd74
  11. 26 Jan, 2017 1 commit
    • Yori 'AGy' Fournier's avatar
      add the Tests for myTool, see test500, 501, 502, 503, 504, 505, 506, 507 and... · b8a434f4
      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.
      b8a434f4
  12. 24 Jan, 2017 1 commit
  13. 22 Jan, 2017 1 commit
    • Yori 'AGy' Fournier's avatar
      I now separates between MyFig and MyFig_base. MyFig_base can be used by... · 45c165f8
      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...
      45c165f8
  14. 20 Jan, 2017 1 commit
    • Yori 'AGy' Fournier's avatar
      mypltlib is now restructured with tests in test. I also changed MyFig and... · 567d4b84
      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.
      567d4b84
  15. 19 Jan, 2017 2 commits
  16. 18 Jan, 2017 3 commits
  17. 17 Jan, 2017 2 commits
  18. 15 Jan, 2017 1 commit
  19. 14 Jan, 2017 1 commit
  20. 12 Jan, 2017 2 commits
  21. 10 Jan, 2017 2 commits