Is it possible to logarithmically scale each of the scatter plots produced by pandas.scatter_matrix
? I want the following to work
>>> pandas.scatter_matrix(my_dataframe, logy=True, logx=True)
you can do:
axl = pandas.scatter_matrix(my_dataframe)
for i, axs in enumerate(axl):
for j, ax in enumerate(axs):
if i != j: # only the scatter plots
ax.set_xscale('log')
ax.set_yscale('log')
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.