Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

star psf

>>> import matplotlib.pyplot as plt
>>> from astropy.visualization import simple_norm
>>> nrows = 5
>>> ncols = 5
>>> fig, ax = plt.subplots(nrows=nrows, ncols=ncols, figsize=(20, 20),
...                        squeeze=True)
>>> ax = ax.ravel()
>>> for i in range(nrows*ncols):
...     norm = simple_norm(stars[i], 'log', percent=99.)
...     ax[i].imshow(stars[i], norm=norm, origin='lower', cmap='viridis')
Comment

PREVIOUS NEXT
Code Example
Python :: r stagazer html knit 
Python :: Dateien mit modul requests herunterladen python 
Python :: List of Pydantic model. List[BaseModel] 
Python :: how to delete a cell in jupyter notebook 
Python :: sring to name variable pyton 
Python :: create matrice 2d whit 3colum panda 
Python :: com.codahale.metrics.annotation.timed 
Python :: python how to geather and spread using pandas 
Python :: py2-pip (no such package) required by world py2-pip 
Python :: pandas terms for list of substring present in another list python 
Python :: change alignment of selenium window 
Python :: turn off subplot 
Python :: python to java converter online 
Python :: flask admin forgeign keys show literal 
Python :: Why do we put r before a path name in Python 
Python :: spacy print word in vocab 
Python :: generate random phone number python 
Python :: Fancier Output Formatting in python 
Python :: how to insert image in python 
Python :: Python Split list into chunks using itertools Method 
Python :: dont show certain legend labels 
Python :: python get portion of dictionary 
Python :: triu function in numpy 
Python :: pandas read csv file header column not equal data columns 
Python :: Python - Comment jouer le fichier Mp3 
Python :: Type conversions in python 
Python :: clicking items in selenium 
Python :: change set item python 
Python :: how to make an infinite loop in python 
Python :: sum 1-50 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =