Stack Exchange network consists of 178 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Answers I'm proud of:
Find underlying sequence of word/strings based on list incomplete sequences
Pickle dump with progress bar
Matplotlib value picker widget along axis
The rule of thumb as to when we should use a global variable in a function
How to use single quotes in Python keywords/variable name?
Eliminating row pairs that are not part of a single connected network
return the maximum of the first n elements in a list
Manipulation of complex string using f-string function
Numpy.fromfunction(): How to use it with strings?
Can this regex be achieved with only string methods in Python?
Some matplotlib stuff I spent ages researching:
Can ticks and ticklabels be placed outside axes limits?
Is there a way to incorporate the extra artist generated by axes.ticklabel_format() into the axis label instead?
Is there any way in matplotlib to get the values of an artist, that are necessary to instantiate such a type of artist?
Is there a way to change the stylesheet when saving a figure in matplotlib?
Is there a way in matplotlib to check which artists are in the currently displayed area of the axes?
Legend picking breaks when drawing plots instead of scatters