Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

colors in scatter plot python

import matplotlib.pyplot as plt
import numpy as np
ID = np.array([1,2,3,4,5,6,7,8,9,10])
marks = np.array([95,98,83,75,67,58,67,78,53,32])
plt.scatter(ID, marks, color= 'black')
plt.show()
Comment

PREVIOUS NEXT
Code Example
Python :: how to add the sum of multiple columns into another column in a dataframe 
Python :: msg.author discord.py 
Python :: python copy to clipboard command 
Python :: python thread function 
Python :: tkinter filedialog get directory path 
Python :: python code to replace first value of txt file 
Python :: merge dicts python 
Python :: django view - APIView (retrieve, update or delete - GET, PUT, DELETE) 
Python :: python time sleep 
Python :: connectionrefusederror at /accounts/signup/ django allauth 
Python :: python array usage 
Python :: how to get length of string in python 
Python :: django queryset to form 
Python :: selenium webdriver scroll down python 
Python :: with open as file python 
Python :: pip install covid 
Python :: remove space characters from string in python 
Python :: python program to print ASCII characters in lowercase 
Python :: geopandas legend location 
Python :: python get the app path 
Python :: how to find the speed of a python program 
Python :: remove zeros from decimal python 
Python :: python read values from file 
Python :: converting numpy array to dataframe 
Python :: delete from list python 
Python :: python 1 line for loop with else 
Python :: how to use input in python 
Python :: udp socket python 
Python :: join to dataframes pandas 
Python :: python planet list 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =