From the readme example:
from reddutils import exodus
exopop = exodus.Exoplanet_Archive('NasaExoplanetArchive')
exopop.display()
the "exopop.display()" does not open a GUI. Just outputs the following in terminal:
VBox(children=(Tab(children=(VBox(children=(HBox(children=(Dropdown(description='x-axis:', index=5, options=('Name of host star', 'Name of the planet', 'Planet letter', 'Right ascension [deg]', 'Declination [deg]', 'Planetary orbital period [d]', 'Planetary mass [MJ]', 'Planetary radius [RJ]', 'Central depth of transit [%]', 'Transit duration [d]', 'Transit midpoint [BJD]', 'Semi-major-axis [AU]', 'Orbital inclination of planet [deg]', 'Stellar radii [Solar]', 'Distance to star [pc]', 'Stellar maz [Solar]', 'Effective temperature of star [K]', 'Stellar surface gravity [cm/s2]', 'Stellar V-band brightness [mag]', 'Projected stellar rotation speed (vsini) [km/s]', 'Stellar Ks-band brightness [mag]'), value='Planetary orbital period [d]'), Dropdown(description='y-axis:', index=6, options=('Name of host star', 'Name of the planet', 'Planet letter', 'Right ascension [deg]', 'Declination [deg]', 'Planetary orbital period [d]', 'Planetary mass [MJ]', 'Planetary radius [RJ]', 'Central depth of transit [%]', 'Transit duration [d]', 'Transit midpoint [BJD]', 'Semi-major-axis [AU]', 'Orbital inclination of planet [deg]', 'Stellar radii [Solar]', 'Distance to star [pc]', 'Stellar maz [Solar]', 'Effective temperature of star [K]', 'Stellar surface gravity [cm/s2]', 'Stellar V-band brightness [mag]', 'Projected stellar rotation speed (vsini) [km/s]', 'Stellar Ks-band brightness [mag]'), value='Planetary mass [MJ]'), Button(description='Reset axis', style=ButtonStyle()), Button(description='Invert axis', style=ButtonStyle()))), HBox(children=(FloatText(value=0.090706293, description='x Minimum:'), FloatText(value=402000000.0, description='x Maximum:'), Button(description='Reset x range', style=ButtonStyle()), Checkbox(value=True, description='x log'))), HBox(children=(FloatText(value=5.663e-05, description='y Minimum:'), FloatText(value=80.0, description='y Maximum:'), Button(description='Reset y range', style=ButtonStyle()), Checkbox(value=True, description='y log'))), HBox(children=(Button(button_style='danger', description='Restart', style=ButtonStyle()), Button(description='Add SS', style=ButtonStyle(button_color='mediumpurple')))))), Accordion(children=(VBox(children=(HBox(children=(Text(value='Exoplanet Population', description='Title: '), FloatText(value=28.0, description='Title Fontsize: '))), HBox(children=(IntSlider(value=9, description='Plot hsize:', max=20, min=2), IntSlider(value=6, description='Plot vsize:', max=20, min=2))), HBox(children=(Dropdown(description='Plot Style: ', options=('default', 'classic', 'Solarize_Light2', 'bmh', 'dark_background', 'fivethirtyeight', 'ggplot', 'grayscale', 'petroff10', 'seaborn-v0_8', 'seaborn-v0_8-bright', 'seaborn-v0_8-colorblind', 'seaborn-v0_8-dark', 'seaborn-v0_8-dark-palette', 'seaborn-v0_8-darkgrid', 'seaborn-v0_8-deep', 'seaborn-v0_8-muted', 'seaborn-v0_8-notebook', 'seaborn-v0_8-paper', 'seaborn-v0_8-pastel', 'seaborn-v0_8-poster', 'seaborn-v0_8-talk', 'seaborn-v0_8-ticks', 'seaborn-v0_8-white', 'seaborn-v0_8-whitegrid', 'tableau-colorblind10'), value='default'), Checkbox(value=False, description='Grid'))))), VBox(children=(HBox(children=(Text(value='Planetary orbital period [d]', description='x-axis label: '), FloatText(value=22.0, description='x-label fontsize: '))), HBox(children=(Text(value='Planetary mass [MJ]', description='y-axis label: '), FloatText(value=22.0, description='y-label fontsize: '))))), VBox(children=(HBox(children=(Dropdown(description='Apply to: ', options=('All', 'unique'), value='All'),)), HBox(children=(Dropdown(description='Shape: ', options=('Circle', 'Triangle Down', 'Triangle Up', 'Square', 'Pentagon', 'Hexagon', 'Octagon', 'Star', 'Diamond', 'Plus', 'X'), value='Circle'), IntSlider(value=100, description='Size: ', max=200, min=1), FloatSlider(value=1.0, description='Transparency:', max=1.0, step=0.01))), HBox(children=(ColorPicker(value='#000000', description='Face color: '), ColorPicker(value='#000000', description='Edge color: '), FloatSlider(value=1.5, description='Edge width:', max=3.0))))), VBox(children=(HBox(children=(Dropdown(description='Style: ', options=('Solid', 'Dashed', 'Dash-dotted', 'Dotted'), value='Solid'), ColorPicker(value='#000000', concise=True, description='Color: '))), HBox(children=(FloatSlider(value=2.0, description='Width: ', max=5.0, min=1.0), FloatSlider(value=1.0, description='Transparency:', max=1.0, step=0.01)))))), titles=('General', 'Axis', 'Markers', 'Line')), VBox(children=(HBox(children=(ToggleButton(value=True, description='unique', icon='check'),)), HBox(), HBox(), HBox(children=(Button(description='Reset Methods', style=ButtonStyle(button_color='lightgreen')), Button(button_style='warning', description='Invert Methods', style=ButtonStyle()), Button(button_style='danger', description='Unselect all', style=ButtonStyle()), ToggleButton(value=False, description='By Method', icon='check'))))), VBox(children=(HBox(children=(Text(value='current_plot', description='File Name'), RadioButtons(description='Plot format:', index=1, options=('png', 'pdf', 'svg'), value='pdf'))), HBox(children=(Button(description='Save plot', style=ButtonStyle()),))))), selected_index=0, titles=('Plot', 'Styling', 'Methods', 'Export')), Button(description='Refresh', style=ButtonStyle()), Output()))
From the readme example:
from reddutils import exodus
exopop = exodus.Exoplanet_Archive('NasaExoplanetArchive')
exopop.display()
the "exopop.display()" does not open a GUI. Just outputs the following in terminal:
VBox(children=(Tab(children=(VBox(children=(HBox(children=(Dropdown(description='x-axis:', index=5, options=('Name of host star', 'Name of the planet', 'Planet letter', 'Right ascension [deg]', 'Declination [deg]', 'Planetary orbital period [d]', 'Planetary mass [MJ]', 'Planetary radius [RJ]', 'Central depth of transit [%]', 'Transit duration [d]', 'Transit midpoint [BJD]', 'Semi-major-axis [AU]', 'Orbital inclination of planet [deg]', 'Stellar radii [Solar]', 'Distance to star [pc]', 'Stellar maz [Solar]', 'Effective temperature of star [K]', 'Stellar surface gravity [cm/s2]', 'Stellar V-band brightness [mag]', 'Projected stellar rotation speed (vsini) [km/s]', 'Stellar Ks-band brightness [mag]'), value='Planetary orbital period [d]'), Dropdown(description='y-axis:', index=6, options=('Name of host star', 'Name of the planet', 'Planet letter', 'Right ascension [deg]', 'Declination [deg]', 'Planetary orbital period [d]', 'Planetary mass [MJ]', 'Planetary radius [RJ]', 'Central depth of transit [%]', 'Transit duration [d]', 'Transit midpoint [BJD]', 'Semi-major-axis [AU]', 'Orbital inclination of planet [deg]', 'Stellar radii [Solar]', 'Distance to star [pc]', 'Stellar maz [Solar]', 'Effective temperature of star [K]', 'Stellar surface gravity [cm/s2]', 'Stellar V-band brightness [mag]', 'Projected stellar rotation speed (vsini) [km/s]', 'Stellar Ks-band brightness [mag]'), value='Planetary mass [MJ]'), Button(description='Reset axis', style=ButtonStyle()), Button(description='Invert axis', style=ButtonStyle()))), HBox(children=(FloatText(value=0.090706293, description='x Minimum:'), FloatText(value=402000000.0, description='x Maximum:'), Button(description='Reset x range', style=ButtonStyle()), Checkbox(value=True, description='x log'))), HBox(children=(FloatText(value=5.663e-05, description='y Minimum:'), FloatText(value=80.0, description='y Maximum:'), Button(description='Reset y range', style=ButtonStyle()), Checkbox(value=True, description='y log'))), HBox(children=(Button(button_style='danger', description='Restart', style=ButtonStyle()), Button(description='Add SS', style=ButtonStyle(button_color='mediumpurple')))))), Accordion(children=(VBox(children=(HBox(children=(Text(value='Exoplanet Population', description='Title: '), FloatText(value=28.0, description='Title Fontsize: '))), HBox(children=(IntSlider(value=9, description='Plot hsize:', max=20, min=2), IntSlider(value=6, description='Plot vsize:', max=20, min=2))), HBox(children=(Dropdown(description='Plot Style: ', options=('default', 'classic', 'Solarize_Light2', 'bmh', 'dark_background', 'fivethirtyeight', 'ggplot', 'grayscale', 'petroff10', 'seaborn-v0_8', 'seaborn-v0_8-bright', 'seaborn-v0_8-colorblind', 'seaborn-v0_8-dark', 'seaborn-v0_8-dark-palette', 'seaborn-v0_8-darkgrid', 'seaborn-v0_8-deep', 'seaborn-v0_8-muted', 'seaborn-v0_8-notebook', 'seaborn-v0_8-paper', 'seaborn-v0_8-pastel', 'seaborn-v0_8-poster', 'seaborn-v0_8-talk', 'seaborn-v0_8-ticks', 'seaborn-v0_8-white', 'seaborn-v0_8-whitegrid', 'tableau-colorblind10'), value='default'), Checkbox(value=False, description='Grid'))))), VBox(children=(HBox(children=(Text(value='Planetary orbital period [d]', description='x-axis label: '), FloatText(value=22.0, description='x-label fontsize: '))), HBox(children=(Text(value='Planetary mass [MJ]', description='y-axis label: '), FloatText(value=22.0, description='y-label fontsize: '))))), VBox(children=(HBox(children=(Dropdown(description='Apply to: ', options=('All', 'unique'), value='All'),)), HBox(children=(Dropdown(description='Shape: ', options=('Circle', 'Triangle Down', 'Triangle Up', 'Square', 'Pentagon', 'Hexagon', 'Octagon', 'Star', 'Diamond', 'Plus', 'X'), value='Circle'), IntSlider(value=100, description='Size: ', max=200, min=1), FloatSlider(value=1.0, description='Transparency:', max=1.0, step=0.01))), HBox(children=(ColorPicker(value='#000000', description='Face color: '), ColorPicker(value='#000000', description='Edge color: '), FloatSlider(value=1.5, description='Edge width:', max=3.0))))), VBox(children=(HBox(children=(Dropdown(description='Style: ', options=('Solid', 'Dashed', 'Dash-dotted', 'Dotted'), value='Solid'), ColorPicker(value='#000000', concise=True, description='Color: '))), HBox(children=(FloatSlider(value=2.0, description='Width: ', max=5.0, min=1.0), FloatSlider(value=1.0, description='Transparency:', max=1.0, step=0.01)))))), titles=('General', 'Axis', 'Markers', 'Line')), VBox(children=(HBox(children=(ToggleButton(value=True, description='unique', icon='check'),)), HBox(), HBox(), HBox(children=(Button(description='Reset Methods', style=ButtonStyle(button_color='lightgreen')), Button(button_style='warning', description='Invert Methods', style=ButtonStyle()), Button(button_style='danger', description='Unselect all', style=ButtonStyle()), ToggleButton(value=False, description='By Method', icon='check'))))), VBox(children=(HBox(children=(Text(value='current_plot', description='File Name'), RadioButtons(description='Plot format:', index=1, options=('png', 'pdf', 'svg'), value='pdf'))), HBox(children=(Button(description='Save plot', style=ButtonStyle()),))))), selected_index=0, titles=('Plot', 'Styling', 'Methods', 'Export')), Button(description='Refresh', style=ButtonStyle()), Output()))