import matplotlib.pyplot as plt
import pandas as pd
plt.rcParams['font.sans-serif']=['SimHei']
plt.rcParams['axes.unicode_minus']=False import matplotlib.pyplot as plt
import pandas as pd
def draw_dkappa_scatters(path1, dkappa_scatters_picture_relativepath=None):fig, ax1 = plt.subplots()fig.suptitle('规划路径曲率变化率', y=0.92)ax1.set_xlabel('累加距离s(m)')ax1.set_ylabel('曲率变化率dk')ax1.plot(path1['distance'], path1['dkappa'], color='#F98FA8', linestyle='--', marker='s', markersize=2, linewidth=0.5)ax1.tick_params(axis='y')max_dkappa = path1['dkappa']