Python Matplotlib macOS backend

Matplotlib is a nice Matlab-like environment for Python. If you encounter a backend related problem while using Matplotlib [1] on a Python Virtualenv [2], then you need to explicitly select one (i.e. backend : Qt5Agg) in a ~/.config/matplotlib/matplotlibrc (or directly in a matplotlib file located in current working directory) configuration file. Then remember to use modern interpreter and meet dependencies requirements. Example below:

$ mkdir ~/.matplotlib
$ echo "backend : Qt5Agg" >> ~/.config/matplotlib/matplotlibrc
$ echo "backend : Qt5Agg" >> matplotlibrc
$ python3.6 -m venv venv-mac-36
$ source venv-mac-36/bin/activate
$ which python
$ pip install matplotlib pyqt5

Now you can use Matplotlib inside created Python Virtualenv (assuming you had Python 3.6 and Qt5 [3] already installed on your system). Other backends are: TKAgg, GTKAgg, Qt4Agg, Qt5Agg, WXAgg [4].

[1] https://matplotlib.org/
[2] https://www.python.org/
[3] https://www.qt.io/
[4] https://matplotlib.org/faq/usage_faq.html

PIP and Python Modules inside Blender

If you want to install additional Python [1] modules inside your Blender [2] environment, you can install PIP using this recommended script [3], then use PIP to install all modules that you want. Note Blender’s Python Virtualenv location is /path_to_blender/blender_version/python/bin/python and you need to use this particular interpreter to launch the script.

[1] https://www.python.org/
[2] https://www.blender.org/
[3] https://pip.pypa.io/en/stable/installing/

CeDeROM BCI at Bio-Tech 2013

Today I had a pleasure to give a lecture on my “CeDeROM Brain Computer Interface” at Bio-Tech 2013 scientific conference hosted by Lublin University of Technology. Thank you for this great opportunity and so many interesting people!

II Conference on Aerospace Robotics (CARO’2)

Today, with my friend Grzegorz Misiołek, we have presented a lecture on our early stage research “BioCybernetic Robot with Brain Computer Interface Technology for Space Applications” at II Conference on Aerospace Robotics (CARO’2) hosted by Polish Space Research Center of Polish Academy of Sciences. Thank you for this great opportunity!

świerszcz

Projekt zespołowy Studenciego Koła Inżynierii Kosmicznej do którego należę, miał na celu stworzenie charakterystyki temperatura-wysokość przy użyciu sondy balonowej.

Read More