Python 利用bokeh的Aitoff投影

Python 利用bokeh的Aitoff投影,python,bokeh,Python,Bokeh,我使用标准的matplotlibaitoff投影在python中绘制了一个简单的绘图: plt.figure(figsize=(10,6)) plt.subplot(111, projection="aitoff") plt.grid(True) plt.scatter(ra_rad_s, dec_rad_s, marker='o', s=70, alpha=0.1) plt.xlabel('R.A.') plt.ylabel('Decl.') plt.show() TOOLS="hover,

我使用标准的
matplotlib
aitoff投影在
python
中绘制了一个简单的绘图:

plt.figure(figsize=(10,6))
plt.subplot(111, projection="aitoff")
plt.grid(True)
plt.scatter(ra_rad_s, dec_rad_s, marker='o', s=70, alpha=0.1)
plt.xlabel('R.A.')
plt.ylabel('Decl.')
plt.show()
TOOLS="hover,crosshair,pan,wheel_zoom,zoom_in,zoom_out"

p = figure(tools=TOOLS,plot_width=1200, plot_height=800)

p.xaxis.axis_label = 'R.A.'
p.yaxis.axis_label = 'DEC'
p.x_range=Range1d(0,360)
p.y_range=Range1d(-90,90)

source = ColumnDataSource(rpa)

p.hover.tooltips = [("Name","@Name")]

p.scatter("RAD","DECD", color='blue',fill_alpha=0.25, 
          size=16,marker="circle",source=source)

output_file("bokeh_test.html", title="bokeh tests")
show(p)
这给了我以下输出:

我想知道是否有一种方法可以用
bokeh
代替aitoff投影?我想在一个网页上显示这一点,并有一些互动功能将是伟大的

我从中了解到MPL和Bokeh之间没有直接的翻译,所以我想知道是否有人做过类似的事情。我尝试过一些简单的事情(而且大部分都很愚蠢,例如试图在bokeh
figure
语句中添加一个投影关键字),但没有成功,我的python知识也很有限。以下是我到目前为止的代码,没有投影:

plt.figure(figsize=(10,6))
plt.subplot(111, projection="aitoff")
plt.grid(True)
plt.scatter(ra_rad_s, dec_rad_s, marker='o', s=70, alpha=0.1)
plt.xlabel('R.A.')
plt.ylabel('Decl.')
plt.show()
TOOLS="hover,crosshair,pan,wheel_zoom,zoom_in,zoom_out"

p = figure(tools=TOOLS,plot_width=1200, plot_height=800)

p.xaxis.axis_label = 'R.A.'
p.yaxis.axis_label = 'DEC'
p.x_range=Range1d(0,360)
p.y_range=Range1d(-90,90)

source = ColumnDataSource(rpa)

p.hover.tooltips = [("Name","@Name")]

p.scatter("RAD","DECD", color='blue',fill_alpha=0.25, 
          size=16,marker="circle",source=source)

output_file("bokeh_test.html", title="bokeh tests")
show(p)
其中给出了以下内容(基础数据不同,但目的相同):

任何建议都将不胜感激