Skip to content

Tag: python

git-p4 message and author encoding

today i am in the position to migrate some pretty old perforce repositories to git. While this is realy interesting there is one thing that caught my eye. All special characters in the commit messages and even the author names are not in the correct encoding. So i tried to investigate where the problem comes …

NameError: name ‘true’ is not defined [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed 7 y…

Python hide ticks but show tick labels

I can remove the ticks with but this removes the labels as well. Any way I can plot the tick labels but not the ticks and the spine Answer You can set the tick length to 0 using tick_params (http://matplotlib.org/api/axes_api.html#matplotlib.axes.Axes.tick_params):