☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Point not moving, even when changing the coordinate

Community Supportwebsite
Tulonga_Hidipo
Tulonga_Hidipo

I RUNNING THE, HOWSMALL SCRIPTS THAT SHOULD DISPLAY A POINT SOMWHERE AROND SOUTH AFRICA , HOWEVER THE POINT IS DRAWN ELSE ON THE MAP(SAY ASIA FOR EXAMPLE). EVEN WHEN I CHANGE THE COORDINATES OF THE POINT, THEY DONR SEEM TO MAKE A DIFFERNCE. POINTS IS STILL TAKEN TOWARDS ASIA. I DONT KNOW WHAT IS HAPPING.

from bokeh.plotting import figure, output_file, show
from bokeh.tile_providers import CARTODBPOSITRON, get_provider

output_file(“tile.html”)

tile_provider = get_provider(CARTODBPOSITRON)

range bounds supplied in web mercator coordinates

p = figure(x_range=(-2000000, 6000000), y_range=(-1000000, 7000000)
,x_axis_type=“mercator”, y_axis_type=“mercator”)

p = figure(x_range=(11.7341988461, 25.0844433937), y_range=(-16.9413428687,-29.045461928))

p.circle(x=-22,y=17,size=50,color=‘green’)
p.add_tile(tile_provider)

show(p)

⌁   Link to post

End of archived discussion · Replies are disabled