How to increase the dpi of the image for publication

I use bokeh to make the graph however the graph is of the lower resolution that cannot be use for the publications.
I use “export_png(f, filename=“plot.png”, height=500, width=900)”
for saving the figure.

Please suggest a solution.Thanks.

Automatically scalable text is still an open issues: Scalable Text · Issue #9407 · bokeh/bokeh · GitHub

Your best bet is to increase the pixel width and height, and also manually make text sizes larger as necessary. If that’s not a workable solution for you then you would probably want to look at other tools for now.