You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running adjustText gives an error even when running the base example. For example running the following:
np.random.seed(0)
x, y = np.random.random((2,30))
fig, ax = plt.subplots()
plt.plot(x, y, 'bo')
texts = [ax.text(x[i], y[i], 'Text%s' %i, ha='center', va='center') for i in range(len(x))]
adjust_text(texts);
Gives the following error:
File "", line 6, in
adjust_text(texts);
File "C:\ProgramData\Anaconda3\lib\site-packages\adjustText_init_.py", line 548, in adjust_text
explode_x, explode_y = explode(coords, static_coords, explode_radius)
File "C:\ProgramData\Anaconda3\lib\site-packages\adjustText_init_.py", line 247, in explode
pairs = tree.query_pairs(r, output_type="ndarray")
TypeError: query_pairs() got an unexpected keyword argument 'output_type'
The text was updated successfully, but these errors were encountered:
Running adjustText gives an error even when running the base example. For example running the following:
np.random.seed(0)
x, y = np.random.random((2,30))
fig, ax = plt.subplots()
plt.plot(x, y, 'bo')
texts = [ax.text(x[i], y[i], 'Text%s' %i, ha='center', va='center') for i in range(len(x))]
adjust_text(texts);
Gives the following error:
File "", line 6, in
adjust_text(texts);
File "C:\ProgramData\Anaconda3\lib\site-packages\adjustText_init_.py", line 548, in adjust_text
explode_x, explode_y = explode(coords, static_coords, explode_radius)
File "C:\ProgramData\Anaconda3\lib\site-packages\adjustText_init_.py", line 247, in explode
pairs = tree.query_pairs(r, output_type="ndarray")
TypeError: query_pairs() got an unexpected keyword argument 'output_type'
The text was updated successfully, but these errors were encountered: