Scattermapbox - line between cities, text over each line

I have couple of cities to connect with lines, itself isn’t very hard, i will use Lines on mapbox in Python (plotly.com) (title Lines on Mapbox maps using Scattermapbox traces)
but also i wanted to put a text paired to each connection, somewhere around the line. Can i somehow do this to be done automatically?

also:
can i hide away names of countries and cities of the map service?
image