我正在学习 Tikz,希望有人可以帮助我实现以下目标,即我想在方程中的对象之间绘制有向弧。下面是我想要实现的目标的图片。

我还附上了迄今为止我使用过的代码:
\documentclass{article}
\usepackage{amsmath,amssymb,braket,tikz}
\usetikzlibrary{tikzmark,calc}
\begin{document}
\begin{tikzpicture}
$(x+2)(x+3)$
\end{tikzpicture}
\end{document}
Run Code Online (Sandbox Code Playgroud)
我还怀疑有一种方法可以在元素(例如数字和字母)之间指定直线或弧,而无需明确说明坐标。是这样吗?如果是的话,它将简化我想要实现的目标。
任何帮助将非常感激。
我刚刚安装了最新版本的 Matplotlib (3.4.1)。当我在以下行中使用一些代码时
ax = fig.gca(projection='3d')
Run Code Online (Sandbox Code Playgroud)
我收到以下警告:
Run Code Online (Sandbox Code Playgroud)Calling gca() with keyword arguments was deprecated in Matplotlib 3.4. Starting two minor releases later, gca() will take no keyword arguments. The gca() function should only be used to get the current axes, or if no axes exist, create new axes with default keyword arguments. To create a new axes with non-default arguments, use plt.axes() or plt.subplot().
我如何解决这个问题,以便我的代码不发出此警告?