1.
to get carried away, to push one's luck, to get cocky
To become overconfident or presumptuous after initial success or favorable treatment, often leading to behavior that others find annoying.
褒められて図に乗るな。
Don't get carried away just because you were praised.
Usage
This expression has a negative connotation and is often used as a warning or criticism. It describes someone who takes advantage of a favorable situation and becomes presumptuous.
Etymology
The origin of 図 here is uncertain; a common explanation traces it to a term in Buddhist chanting for a change of melody, so that the phrase parallels 調子に乗る.