mocking for testing graphics
fix sphinx replace directives
don't use ** in docstrings
fix unmatched `
use old sphinx, until build with #1457 fixed is on PyPi