yfournier created page: create your first figure authored by Yori Fournier's avatar Yori Fournier
...@@ -26,28 +26,49 @@ you can rename `mypltemplate` to any name you whish. ...@@ -26,28 +26,49 @@ you can rename `mypltemplate` to any name you whish.
in `/home/user/src/mymodule`: in `/home/user/src/mymodule`:
``` ```
git git@gitlab.aip.de:yfournier/myplotlib.git --branch tools git clone git@gitlab.aip.de:yfournier/myplotlib.git --branch v2.2.1a
``` ```
## STEP 3: download source **(without an account at gitlab.aip.de)** ## STEP 3: download source **(without an account at gitlab.aip.de)**
download source of the module myplotlib download source of the module myplotlib
- [zip](https://gitlab.aip.de/yfournier/myplotlib/repository/archive.zip?ref=tools) - [zip](https://gitlab.aip.de/yfournier/myplotlib/repository/archive.zip?ref=v2.2.1a)
- [tar.gz](https://gitlab.aip.de/yfournier/myplotlib/repository/archive.tar.gz?ref=tools) - [tar.gz](https://gitlab.aip.de/yfournier/myplotlib/repository/archive.tar.gz?ref=v2.2.1a)
extract and rename like `/home/user/src/mymodule/myplotlib` extract and rename like `/home/user/src/mymodule/myplotlib`
## STEP 4: testing `myplotlib` ## STEP 4: testing
### testing `myplotlib`
in `/home/user/src/mymodule/` in `/home/user/src/mymodule/`
``` ```
python2.6 -m myplotlib.__main__ -t
python2.7 -m myplotlib -t python2.7 -m myplotlib -t
python3 -m myplotlib -t
``` ```
This will execute a series of tests, they should all be successful. This will execute a series of tests, they should all be successful.
> **REMARK**: If you get some errors with python2.6 try to remove the latex, ticks.minor and ticks.major configurations in `myplotlib/__init__.py`
> **REMARK**: If you get some errors with python >2.6 try to set the latex option in `myplotlib/__init__.py` to False
### testing `mymodule`
in `/home/user/src/`
```
python2.6 -m mymodule.__main__ -t
python2.7 -m mymodule -t
python3 -m mymodule -t
```
This will execute a series of 3 tests, they should all be successful.
## STEP 5: Enjoy! ## STEP 5: Enjoy!
Now you can start to enjoy the power of `myplotlib` Now you can start to enjoy the power of `myplotlib`
... ...
......