/*.output_widget_subarea {*/
/*
minimum size of container for matplotlib figures
!important causes it to override other style references
*/
.jupyter-matplotlib-canvas-container {
    min-width: 800px !important;
    min-height: 600px !important;
    /* force chrome/safari to calculate child percentages */
    height: 1px;
}

/* Force the inner wrapper to expand */
.jupyter-matplotlib-canvas-div {
    width: 100% !important;
    height: 600px !important;
    min-width: 800px !important;
    min-height: 600px !important;
    display: block !important;
}

/* .jp-OutputArea-output img { */
/* maximize figure canvas within container defined above */
.jupyter-matplotlib-canvas-div canvas {
    max-width: 100% !important;
    /* by itself, this will create a 1x1 aspect ratio */
    height: 100% !important;
    /* Ensure original aspect ratio is maintained inside 600px box */
    object-fit: contain !important
}