BUG: fix ytick positions closes #1561

Fix for ytick positions are not at the correct position, closes #1561

solutions thanks to @thomas-haslwanter

works correctly in ipython notebook of #1561