Monthly Archives: September 2014

About matplotlib colormap and how to get RGB values of the map

matplotlib comes with lots of colormaps. First, let us see where and how to find them. Then, we will see how to extract individual colors (e.g., in RGB) from the colormap itself. Let us first creat an image from matplotlib … Continue reading

Posted in Python | Tagged | 1 Comment

git and github : skip password typing with ssh

Assuming you have already provided your ssh key in your github settings, you can avoid typing your username and password when when pushing content into your github account, by cloning the SSH repository instead of the default HTTP one. ssh://git@github.com/username/repo.gitssh://git@github.com/username/repo.git … Continue reading

Posted in Computer Science | Tagged | Leave a comment