Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Scatter Plot is not visible using notebook

I am using following commands to create a scatter plot in SageMath notebook;

from sage.plot.scatter_plot import ScatterPlot
x = ScatterPlot(range(2, 100000), [len(divisors(x)) for x in range(2, 100000)], {'facecolor':'white', 'marker':'s'})
show(x)

However, only thing I am getting is this output;

πš‚πšŒπšŠπšπšπšŽπš› πš™πš•πš˜πš πšπš›πšŠπš™πš‘πš’πšŒπšœ πš™πš›πš’πš–πš’πšπš’πšŸπšŽ πš˜πš— 𝟿𝟿𝟿𝟿𝟾 𝚍𝚊𝚝𝚊 πš™πš˜πš’πš—πšπšœ.

How can I show a scatter plot using SageMath?