Customization#
While Easy Vitessce is designed to work with minimal code changes, and provide sensible defaults, there are some additional ways to customize the behavior.
The simplest form of configuration is to enable or disable plots using configure_plots
:
import easy_vitessce as ev
# Enable or disable particular plotting functions
ev.configure_plots(enable_plots=["embedding"], disable_plots=["violin", "heatmap"])
For all other types of configuration, import the Donfig-based config
variable:
import easy_vitessce as ev
# Pretty-print the current configuration
ev.config.pprint()
Widget Configuration#
Configure the parameters that easy_vitessce
plotting functions will internally pass to the VitessceConfig.widget function:
import easy_vitessce as ev
ev.config.set({ 'widget': { 'js_dev_mode': True } })
Configure whether to use VitessceConfig.widget
or VitessceConfig.display
to show the widget:
import easy_vitessce as ev
ev.config.set({ 'widget_function': 'display' })