Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/matplotlib/matplotlib
/ convert_to_pct
Method
convert_to_pct
lib/matplotlib/ticker.py:1689–1690 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
1687
return
s + self.symbol
1688
1689
def
convert_to_pct(self, x):
1690
return
100.0 * (x / self.xmax)
1691
1692
@property
1693
def
symbol(self):
Callers
1
format_pct
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected