Square root scale using matplotlib/python
问题 I want to make a plot with square root scale using Python: However, I have no idea how to make it. Matplotlib allows to make log scale but in this case I need something like power function scale. 回答1: You can make your own ScaleBase class to do this. I have modified the example from here (which made a square-scale, not a square-root-scale) for your purposes. Also, see the documentation here. Note that to do this properly, you should probably also create your own custom tick locator; I haven't