Forum Discussion
niyati_61
4 years agoHelper III
python visual: Scatter Plot 2 sets of data points
Hello, I used a Python Visual to make the Scatter Plot Chart below, however the X-Axis is not visible? The X-Axis has a lot of Date Time Data (Eg: 2021-10-04 07:57:40). However it is just showi...
YukiK
4 years agoImpactful Individual
I'm guessing the issue is in your Python code. You can specify color like this (if using matplotlib):
plt.scatter(x, y, color = 'hotpink')
As far as the x-axis goes, I think the size of the visual is simply small for the number of values that need to be shown. So if just making the visual bigger in Power BI doesn't work, try have it wider in matplotlib like this:
figure(figsize=(20, 8))
Let me know if this helps!