是否可以从字符串创建页面?
例:
html = '<html><body>blah blah blah</body></html>'
page.open(html, function(status) {
// do something
});
Run Code Online (Sandbox Code Playgroud)
我已经尝试了以上没有运气....
此外,我认为值得一提的是我正在使用带有phantomjs-node的nodejs(https://github.com/sgentle/phantomjs-node)
谢谢!
使用此代码生成相关表:
df1.drop(['BC DataPlus', 'AC Glossary'], axis=1).corr(method='pearson').style.format("{:.2}").background_gradient(cmap=plt.get_cmap('coolwarm'), axis=1)
Run Code Online (Sandbox Code Playgroud)
我找不到任何方法将此表另存为图像。谢谢你。