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
図 here refers to a plan or scheme going well. 乗る means to ride or get on. So the expression literally means 'riding on one's successful plan,' implying overconfidence.