Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(2)  |  Derive(0)  |  Import(5)

src/a/s/astroML-0.2/book_figures/chapter1/fig_S82_scatter_contour.py   astroML(Download)
from matplotlib import pyplot as plt
 
from astroML.plotting import scatter_contour
from astroML.datasets import fetch_sdss_S82standards
 
# plot the results
fig, ax = plt.subplots(figsize=(5, 3.75))
scatter_contour(g - r, r - i, threshold=200, log_counts=True, ax=ax,
                histogram2d_args=dict(bins=40),
                plot_args=dict(marker=',', linestyle='none', color='black'),

src/a/s/astroML-HEAD/book_figures/chapter1/fig_S82_scatter_contour.py   astroML(Download)
from matplotlib import pyplot as plt
 
from astroML.plotting import scatter_contour
from astroML.datasets import fetch_sdss_S82standards
 
# plot the results
fig, ax = plt.subplots(figsize=(5, 3.75))
scatter_contour(g - r, r - i, threshold=200, log_counts=True, ax=ax,
                histogram2d_args=dict(bins=40),
                plot_args=dict(marker=',', linestyle='none', color='black'),

src/a/s/astroML-0.2/examples/learning/plot_neighbors_photoz.py   astroML(Download)
 
from astroML.datasets import fetch_sdss_galaxy_colors
from astroML.plotting import scatter_contour
 
n_neighbors = 1

src/a/s/astroML-0.2/examples/datasets/plot_sdss_galaxy_colors.py   astroML(Download)
 
from astroML.datasets import fetch_sdss_galaxy_colors
from astroML.plotting import scatter_contour
 
#------------------------------------------------------------

src/a/s/astroML-HEAD/examples/learning/plot_neighbors_photoz.py   astroML(Download)
 
from astroML.datasets import fetch_sdss_galaxy_colors
from astroML.plotting import scatter_contour
 
n_neighbors = 1