Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/matplotlib/matplotlib
/ format_data_short
Method
format_data_short
lib/matplotlib/dates.py:820–821 ·
view source on GitHub ↗
(self, value)
Source
from the content-addressed store, hash-verified
818
return
self._offset_string
819
820
def
format_data_short(self, value):
821
return
num2date(value, tz=self._tz).strftime(
'%Y-%m-%d %H:%M:%S'
)
822
823
824
class
AutoDateFormatter(ticker.Formatter):
Callers
1
test_concise_formatter_call
Function · 0.95
Calls
1
num2date
Function · 0.85
Tested by
1
test_concise_formatter_call
Function · 0.76