<jupyter_start><jupyter_text>chart moduleThis module relies on `pygal` library, so the returned charts are instances of `pygal.chart`. See options at [pygal site][1]I made a JavaScript 'equivalent': https://code.earthengine.google.com/b2922b860b85c1120250794fb82dfda8  [1]: http://www.pygal.org/en/latest/documentation/index.html<jupyter_code>import ee
from geetools import ui
ui.__file__
test_site = ee.Geometry.Point([-71, -42])
test_feat = ee.Feature(test_site, {'name': 'test feature'})
test_featcol = ee.FeatureCollection([
    test_feat, 
    test_feat.buffer(100).set('name', 'buffer 100'),
    test_feat.buffer(1000).set('name', 'buffer 1000')
])<jupyter_output><empty_output><jupyter_text>Time Series<jupyter_code>years = ee.List([2015, 2016, 2017, 2018])
col = ee.ImageCollection('COPERNICUS/S2').filterBounds(test_site)
def make_time_series(year):
    ''' make a time series from year's list '''
    eefilter = ee.Filter.calendarRange(year, field='year')
    filtered = col.filter(eefilter)
    return filtered.mean().set('system:time_start', ee.Date.fromYMD(year, 1, 1).millis())
time_series = ee.ImageCollection(years.map(make_time_series))<jupyter_output><empty_output><jupyter_text>Chart *series*<jupyter_code>chart_ts = ui.chart.Image.series(**{
    'imageCollection': time_series, 
    'region': test_site,
    'scale': 10,
    'bands': ['B1', 'B2', 'B3'],
    # 'xProperty': 'B4', # You can use a band too!
    'labels': ['band B1', 'B2 band', 'this is B3']
})
chart_ts.render_widget(width='50%')<jupyter_output><empty_output><jupyter_text>Chart *seriesByRegion*<jupyter_code>chart_ts_region = ui.chart.Image.seriesByRegion(**{
    'imageCollection': time_series,
    'reducer': ee.Reducer.median(),
    'regions': test_featcol,
    'scale': 10,
    'band': 'B11',
    'seriesProperty': 'name'
})
chart_ts_region.render_widget(height=500)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1606574761399788, 'fraction_numerical': 0.04188759278897137, 'mean_word_length': 5.988888888888889, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '575945', 'license': 'MIT', 'n_tokens_mistral': 753, 'n_tokens_neox': 687, 'n_words': 123, 'path': 'notebooks/ui/.ipynb_checkpoints/chart-checkpoint.ipynb', 'repo_name': 'bworstell/gee_tools', 'size': '1886'}