Point not moving, even when changing the coordinate

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§

From the documentation: “Bokeh plots can also consume XYZ tile services which use the Web Mercator projection”.

In essence, you need to convert your coordinates.

Hi @Tulonga_Hidipo Two other asks:

  • Please don’t yell in all caps
  • Please use code formatting so that the code is intelligible (either with the </> icon on the editing toolbar, or triple backtick ``` fences around the code blocks)

Noted with thanks. Just signed up now, hopefully i can to know all the typing drills soon. Thanks Again.