Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/plotly/plotly.py
/ _add_inside_to_position
Function
_add_inside_to_position
plotly/shapeannotation.py:65–68 ·
view source on GitHub ↗
(pos)
Source
from the content-addressed store, hash-verified
63
64
65
def
_add_inside_to_position(pos):
66
if
not (
"inside"
in pos or
"outside"
in pos):
67
pos.add(
"inside"
)
68
return
pos
69
70
71
def
_prepare_position(position, prepend_inside=False):
Callers
1
_prepare_position
Function · 0.85
Calls
1
add
Method · 0.45
Tested by
no test coverage detected