Move text rendering to function
Fix mirroring for broken axes
Fix grid lines for broken axis and axis ticks