Prep matplot UI for mathbox