def test_plotBoundaries_smoke(self):
        extent = pgtest.makeSimpleBoundary()
        islands = pgtest.makeSimpleIslands()
        fig5 = viz.plotBoundaries(extent_x='x', extent_y='y', extent=extent,
                                         islands_x='x', islands_y='y', islands_name='island',
                                         islands=islands)

        fig6 = viz.plotBoundaries(extent_x=extent['x'], extent_y=extent['y'], extent=None,
                                         islands_x=islands['x'], islands_y=islands['y'],
                                         islands_name=islands['island'], islands=None)
def test__plot_boundaries():
    model = pgtest.makeSimpleBoundary()
    islands = pgtest.makeSimpleIslands()
    fig1 = _viz_bokeh._plot_boundaries(model_x='x', model_y='y', model=model)
    fig2 = _viz_bokeh._plot_boundaries(model_x=model['x'], model_y=model['y'], model=None)
    fig3 = _viz_bokeh._plot_boundaries(island_x='x', island_y='y', island_name='island', islands=islands)
    fig4 = _viz_bokeh._plot_boundaries(island_x=islands['x'], island_y=islands['y'],
                                       island_name=islands['island'], islands=None)

    fig5 = _viz_bokeh._plot_boundaries(model_x='x', model_y='y', model=model,
                                       island_x='x', island_y='y', island_name='island',
                                       islands=islands)

    fig6 = _viz_bokeh._plot_boundaries(model_x=model['x'], model_y=model['y'], model=None,
                                       island_x=islands['x'], island_y=islands['y'],
                                       island_name=islands['island'], islands=None)
def test__plot_boundaries():
    extent = pgtest.makeSimpleBoundary()
    islands = pgtest.makeSimpleIslands()
    fig1 = _viz_mpl._plot_boundaries(extent_x="x", extent_y="y", extent=extent)
    fig2 = _viz_mpl._plot_boundaries(extent_x=extent["x"], extent_y=extent["y"], extent=None)
    fig3 = _viz_mpl._plot_boundaries(islands_x="x", islands_y="y", islands_name="island", islands=islands)
    fig4 = _viz_mpl._plot_boundaries(
        islands_x=islands["x"], islands_y=islands["y"], islands_name=islands["island"], islands=None
    )

    fig5 = _viz_mpl._plot_boundaries(
        extent_x="x", extent_y="y", extent=extent, islands_x="x", islands_y="y", islands_name="island", islands=islands
    )

    fig6 = _viz_mpl._plot_boundaries(
        extent_x=extent["x"],
        extent_y=extent["y"],
        extent=None,
        islands_x=islands["x"],
        islands_y=islands["y"],
        islands_name=islands["island"],
        islands=None,
    )