From b682d4fade18f69b144f5474efc5996bc087bb97 Mon Sep 17 00:00:00 2001 From: Nathan Korinek Date: Thu, 3 Dec 2020 16:08:29 -0700 Subject: [PATCH 1/3] Move from Travis / Appeveyor to GitHub actions (#369) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update setuptools from 42.0.2 to 45.2.0 (#190) * raster inherits from vector rather than base (#76) * Allow geodataframes in assert_polygons (#188) * fixing a few syntax errors (#194) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * fixing a few syntax errors * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser * remove tabls Co-authored-by: Nathan Korinek * update changelog for release * Bump version: 0.1.1 → 0.1.2 * Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser * Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette * Update codecov to 2.0.16 (#202) * Update codecov from 2.0.15 to 2.0.16 * update from master (#211) * Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser * Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette Co-authored-by: Nathan Korinek Co-authored-by: Leah Wasser Co-authored-by: Nathan Korinek * Contributors update (#213) * Added contributor rst file and moved that information out of the README file * Implemented requested changes to README * Update setuptools from 45.2.0 to 46.0.0 (#215) * Add Assert points function & cleanup duplicate methods (#203) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * Taking out redundant tests * Typo * Fixing how vector checks for truth value of a dataframe * Update pytest from 5.3.5 to 5.4.1 * merge * Additional vector tests (#212) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * First round of tests for vector * black * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * rough drafts of more tests * Added more tests for legends * Added more tests, and took out broken tests * small codacy fix * Fixed test! * Taking out redundant tests * Took out unneccesary tests * Added plt.close * Added more tests * Typo * more tests for uncovered parts of the vector file * black * Fixed issues with vector checking truth value of dataframe, and added tests * Fixing how vector checks for truth value of a dataframe * Added more coverage! * Broke tests up into individual files * black * Added tests for outlier cases * Update matplotcheck/tests/test_points.py typo Co-Authored-By: Leah Wasser * took plt.gca() out of tests * Added changes suggested on GitHub * Update CHANGELOG.md * fix import order * import order fix * import order * import order Co-authored-by: Leah Wasser * Add tests to the Autograde module (#224) * Added tests for the autograde module * removed unneccesary import * Fixing issues that were failing in base_data * codacy * flake8 * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Updated changelog * flake8 fix Co-authored-by: Leah Wasser * Hist bin midpoints (#204) * Add a get and assert function for bin midpoints, as well as tests for those functions * Updated docstrings * Added changelog changes and fixed minor formatting issue * small flake8 fix * Added midpoints functionatlity to the vignette for histogram testing * Adding in changes suggested on GitHub1 * Fixed function description * Took out all instances of in example * update docs * Fixed small bug with section titles * Update matplotcheck/tests/test_base_data.py * reworded changelog Co-authored-by: Leah Wasser * Update setuptools from 46.1.1 to 46.1.3 (#231) * Title assert accepts strings (#229) * Fixed assert_title_contains to take strings as well as lists * Better implementation * Changelog update Co-authored-by: Leah Wasser * M2r remove (#247) * Removed m2r from matplotcheck, and reformated code of conduct * Seeing if rebase works * removed an m2r import * Fixing up the docs a bit * changelog updates * # This is a combination of 2 commits. # This is the 1st commit message: Update setuptools from 42.0.2 to 45.2.0 (#190) raster inherits from vector rather than base (#76) Allow geodataframes in assert_polygons (#188) fixing a few syntax errors (#194) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * fixing a few syntax errors * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser * remove tabls Co-authored-by: Nathan Korinek update changelog for release Bump version: 0.1.1 → 0.1.2 Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette Update codecov to 2.0.16 (#202) * Update codecov from 2.0.15 to 2.0.16 * update from master (#211) * Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser * Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette Co-authored-by: Nathan Korinek Co-authored-by: Leah Wasser Co-authored-by: Nathan Korinek Contributors update (#213) * Added contributor rst file and moved that information out of the README file * Implemented requested changes to README Update setuptools from 45.2.0 to 46.0.0 (#215) Add Assert points function & cleanup duplicate methods (#203) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * Taking out redundant tests * Typo * Fixing how vector checks for truth value of a dataframe Update pytest from 5.3.5 to 5.4.1 merge Additional vector tests (#212) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * First round of tests for vector * black * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * rough drafts of more tests * Added more tests for legends * Added more tests, and took out broken tests * small codacy fix * Fixed test! * Taking out redundant tests * Took out unneccesary tests * Added plt.close * Added more tests * Typo * more tests for uncovered parts of the vector file * black * Fixed issues with vector checking truth value of dataframe, and added tests * Fixing how vector checks for truth value of a dataframe * Added more coverage! * Broke tests up into individual files * black * Added tests for outlier cases * Update matplotcheck/tests/test_points.py typo Co-Authored-By: Leah Wasser * took plt.gca() out of tests * Added changes suggested on GitHub * Update CHANGELOG.md * fix import order * import order fix * import order * import order Co-authored-by: Leah Wasser Add tests to the Autograde module (#224) * Added tests for the autograde module * removed unneccesary import * Fixing issues that were failing in base_data * codacy * flake8 * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Updated changelog * flake8 fix Co-authored-by: Leah Wasser Hist bin midpoints (#204) * Add a get and assert function for bin midpoints, as well as tests for those functions * Updated docstrings * Added changelog changes and fixed minor formatting issue * small flake8 fix * Added midpoints functionatlity to the vignette for histogram testing * Adding in changes suggested on GitHub1 * Fixed function description * Took out all instances of in example * update docs * Fixed small bug with section titles * Update matplotcheck/tests/test_base_data.py * reworded changelog Co-authored-by: Leah Wasser Update setuptools from 46.1.1 to 46.1.3 (#231) Title assert accepts strings (#229) * Fixed assert_title_contains to take strings as well as lists * Better implementation * Changelog update Co-authored-by: Leah Wasser M2r remove (#247) * Removed m2r from matplotcheck, and reformated code of conduct * Seeing if rebase works * removed an m2r import * Fixing up the docs a bit * changelog updates Allow geodataframes in assert_polygons (#188) fixing a few syntax errors (#194) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * fixing a few syntax errors * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser * remove tabls Co-authored-by: Nathan Korinek Get images function (#193) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser Co-authored-by: Leah Wasser Bump version: 0.1.1 → 0.1.2 Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser Contributors update (#213) * Added contributor rst file and moved that information out of the README file * Implemented requested changes to README Add Assert points function & cleanup duplicate methods (#203) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * Taking out redundant tests * Typo * Fixing how vector checks for truth value of a dataframe Additional vector tests (#212) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * First round of tests for vector * black * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * rough drafts of more tests * Added more tests for legends * Added more tests, and took out broken tests * small codacy fix * Fixed test! * Taking out redundant tests * Took out unneccesary tests * Added plt.close * Added more tests * Typo * more tests for uncovered parts of the vector file * black * Fixed issues with vector checking truth value of dataframe, and added tests * Fixing how vector checks for truth value of a dataframe * Added more coverage! * Broke tests up into individual files * black * Added tests for outlier cases * Update matplotcheck/tests/test_points.py typo Co-Authored-By: Leah Wasser * took plt.gca() out of tests * Added changes suggested on GitHub * Update CHANGELOG.md * fix import order * import order fix * import order * import order Co-authored-by: Leah Wasser # This is the commit message #2: Update setuptools from 46.1.1 to 46.1.3 (#231) * fix copyright on docs (#244) * Add pillow (#254) * add pillow as a dev requirement * update for pillow addition * Changelog to rst (#267) * Update setuptools from 42.0.2 to 45.2.0 (#190) * raster inherits from vector rather than base (#76) * Allow geodataframes in assert_polygons (#188) * fixing a few syntax errors (#194) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * fixing a few syntax errors * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser * remove tabls Co-authored-by: Nathan Korinek * update changelog for release * Bump version: 0.1.1 → 0.1.2 * Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser * Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette * Update codecov to 2.0.16 (#202) * Update codecov from 2.0.15 to 2.0.16 * update from master (#211) * Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser * Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette Co-authored-by: Nathan Korinek Co-authored-by: Leah Wasser Co-authored-by: Nathan Korinek * Contributors update (#213) * Added contributor rst file and moved that information out of the README file * Implemented requested changes to README * Update setuptools from 45.2.0 to 46.0.0 (#215) * Update pytest from 5.3.5 to 5.4.1 * Add Assert points function & cleanup duplicate methods (#203) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * Taking out redundant tests * Typo * Fixing how vector checks for truth value of a dataframe * merge * Additional vector tests (#212) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * First round of tests for vector * black * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * rough drafts of more tests * Added more tests for legends * Added more tests, and took out broken tests * small codacy fix * Fixed test! * Taking out redundant tests * Took out unneccesary tests * Added plt.close * Added more tests * Typo * more tests for uncovered parts of the vector file * black * Fixed issues with vector checking truth value of dataframe, and added tests * Fixing how vector checks for truth value of a dataframe * Added more coverage! * Broke tests up into individual files * black * Added tests for outlier cases * Update matplotcheck/tests/test_points.py typo Co-Authored-By: Leah Wasser * took plt.gca() out of tests * Added changes suggested on GitHub * Update CHANGELOG.md * fix import order * import order fix * import order * import order Co-authored-by: Leah Wasser * Add tests to the Autograde module (#224) * Added tests for the autograde module * removed unneccesary import * Fixing issues that were failing in base_data * codacy * flake8 * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Updated changelog * flake8 fix Co-authored-by: Leah Wasser * Hist bin midpoints (#204) * Add a get and assert function for bin midpoints, as well as tests for those functions * Updated docstrings * Added changelog changes and fixed minor formatting issue * small flake8 fix * Added midpoints functionatlity to the vignette for histogram testing * Adding in changes suggested on GitHub1 * Fixed function description * Took out all instances of in example * update docs * Fixed small bug with section titles * Update matplotcheck/tests/test_base_data.py * reworded changelog Co-authored-by: Leah Wasser * Update setuptools from 46.1.1 to 46.1.3 (#231) * Title assert accepts strings (#229) * Fixed assert_title_contains to take strings as well as lists * Better implementation * Changelog update Co-authored-by: Leah Wasser * M2r remove (#247) * Removed m2r from matplotcheck, and reformated code of conduct * Seeing if rebase works * removed an m2r import * Fixing up the docs a bit * changelog updates * # This is a combination of 2 commits. # This is the 1st commit message: Update setuptools from 42.0.2 to 45.2.0 (#190) raster inherits from vector rather than base (#76) Allow geodataframes in assert_polygons (#188) fixing a few syntax errors (#194) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * fixing a few syntax errors * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser * remove tabls Co-authored-by: Nathan Korinek update changelog for release Bump version: 0.1.1 → 0.1.2 Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette Update codecov to 2.0.16 (#202) * Update codecov from 2.0.15 to 2.0.16 * update from master (#211) * Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser * Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette Co-authored-by: Nathan Korinek Co-authored-by: Leah Wasser Co-authored-by: Nathan Korinek Contributors update (#213) * Added contributor rst file and moved that information out of the README file * Implemented requested changes to README Update setuptools from 45.2.0 to 46.0.0 (#215) Add Assert points function & cleanup duplicate methods (#203) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * Taking out redundant tests * Typo * Fixing how vector checks for truth value of a dataframe Update pytest from 5.3.5 to 5.4.1 merge Additional vector tests (#212) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * First round of tests for vector * black * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * rough drafts of more tests * Added more tests for legends * Added more tests, and took out broken tests * small codacy fix * Fixed test! * Taking out redundant tests * Took out unneccesary tests * Added plt.close * Added more tests * Typo * more tests for uncovered parts of the vector file * black * Fixed issues with vector checking truth value of dataframe, and added tests * Fixing how vector checks for truth value of a dataframe * Added more coverage! * Broke tests up into individual files * black * Added tests for outlier cases * Update matplotcheck/tests/test_points.py typo Co-Authored-By: Leah Wasser * took plt.gca() out of tests * Added changes suggested on GitHub * Update CHANGELOG.md * fix import order * import order fix * import order * import order Co-authored-by: Leah Wasser Add tests to the Autograde module (#224) * Added tests for the autograde module * removed unneccesary import * Fixing issues that were failing in base_data * codacy * flake8 * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Updated changelog * flake8 fix Co-authored-by: Leah Wasser Hist bin midpoints (#204) * Add a get and assert function for bin midpoints, as well as tests for those functions * Updated docstrings * Added changelog changes and fixed minor formatting issue * small flake8 fix * Added midpoints functionatlity to the vignette for histogram testing * Adding in changes suggested on GitHub1 * Fixed function description * Took out all instances of in example * update docs * Fixed small bug with section titles * Update matplotcheck/tests/test_base_data.py * reworded changelog Co-authored-by: Leah Wasser Update setuptools from 46.1.1 to 46.1.3 (#231) Title assert accepts strings (#229) * Fixed assert_title_contains to take strings as well as lists * Better implementation * Changelog update Co-authored-by: Leah Wasser M2r remove (#247) * Removed m2r from matplotcheck, and reformated code of conduct * Seeing if rebase works * removed an m2r import * Fixing up the docs a bit * changelog updates Allow geodataframes in assert_polygons (#188) fixing a few syntax errors (#194) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * fixing a few syntax errors * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser * remove tabls Co-authored-by: Nathan Korinek Get images function (#193) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser Co-authored-by: Leah Wasser Bump version: 0.1.1 → 0.1.2 Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser Contributors update (#213) * Added contributor rst file and moved that information out of the README file * Implemented requested changes to README Add Assert points function & cleanup duplicate methods (#203) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * Taking out redundant tests * Typo * Fixing how vector checks for truth value of a dataframe Additional vector tests (#212) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * First round of tests for vector * black * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * rough drafts of more tests * Added more tests for legends * Added more tests, and took out broken tests * small codacy fix * Fixed test! * Taking out redundant tests * Took out unneccesary tests * Added plt.close * Added more tests * Typo * more tests for uncovered parts of the vector file * black * Fixed issues with vector checking truth value of dataframe, and added tests * Fixing how vector checks for truth value of a dataframe * Added more coverage! * Broke tests up into individual files * black * Added tests for outlier cases * Update matplotcheck/tests/test_points.py typo Co-Authored-By: Leah Wasser * took plt.gca() out of tests * Added changes suggested on GitHub * Update CHANGELOG.md * fix import order * import order fix * import order * import order Co-authored-by: Leah Wasser # This is the commit message #2: Update setuptools from 46.1.1 to 46.1.3 (#231) * fix copyright on docs (#244) * Add pillow (#254) * add pillow as a dev requirement * update for pillow addition * Changed the changelog to an rst file instead of a markdown file and added it to the docs build. * Put changelog changes into the new changelog lol Co-authored-by: pyup.io bot Co-authored-by: Leah Wasser * setup greetings! (#257) * Add template for PR * Timeseries tests (#273) * Added tests for timeseries module. * Fixed a bug where assert_xydata() sometimes failed to compare numpy arrays when dtype was object * Changed behavior of assert_xydata() to display standard error message when xy_data and xy_expected do not have the same shape. * remove extensive docs within test file * Update setuptools from 42.0.2 to 45.2.0 (#190) * raster inherits from vector rather than base (#76) * Allow geodataframes in assert_polygons (#188) * fixing a few syntax errors (#194) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * fixing a few syntax errors * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser * remove tabls Co-authored-by: Nathan Korinek * update changelog for release * Bump version: 0.1.1 → 0.1.2 * Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser * Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette * Update codecov to 2.0.16 (#202) * Update codecov from 2.0.15 to 2.0.16 * update from master (#211) * Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser * Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette Co-authored-by: Nathan Korinek Co-authored-by: Leah Wasser Co-authored-by: Nathan Korinek * Contributors update (#213) * Added contributor rst file and moved that information out of the README file * Implemented requested changes to README * Update setuptools from 45.2.0 to 46.0.0 (#215) * Update pytest from 5.3.5 to 5.4.1 * Add Assert points function & cleanup duplicate methods (#203) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * Taking out redundant tests * Typo * Fixing how vector checks for truth value of a dataframe * merge * Additional vector tests (#212) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * First round of tests for vector * black * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * rough drafts of more tests * Added more tests for legends * Added more tests, and took out broken tests * small codacy fix * Fixed test! * Taking out redundant tests * Took out unneccesary tests * Added plt.close * Added more tests * Typo * more tests for uncovered parts of the vector file * black * Fixed issues with vector checking truth value of dataframe, and added tests * Fixing how vector checks for truth value of a dataframe * Added more coverage! * Broke tests up into individual files * black * Added tests for outlier cases * Update matplotcheck/tests/test_points.py typo Co-Authored-By: Leah Wasser * took plt.gca() out of tests * Added changes suggested on GitHub * Update CHANGELOG.md * fix import order * import order fix * import order * import order Co-authored-by: Leah Wasser * Add tests to the Autograde module (#224) * Added tests for the autograde module * removed unneccesary import * Fixing issues that were failing in base_data * codacy * flake8 * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Updated changelog * flake8 fix Co-authored-by: Leah Wasser * Hist bin midpoints (#204) * Add a get and assert function for bin midpoints, as well as tests for those functions * Updated docstrings * Added changelog changes and fixed minor formatting issue * small flake8 fix * Added midpoints functionatlity to the vignette for histogram testing * Adding in changes suggested on GitHub1 * Fixed function description * Took out all instances of in example * update docs * Fixed small bug with section titles * Update matplotcheck/tests/test_base_data.py * reworded changelog Co-authored-by: Leah Wasser * Update setuptools from 46.1.1 to 46.1.3 (#231) * Title assert accepts strings (#229) * Fixed assert_title_contains to take strings as well as lists * Better implementation * Changelog update Co-authored-by: Leah Wasser * M2r remove (#247) * Removed m2r from matplotcheck, and reformated code of conduct * Seeing if rebase works * removed an m2r import * Fixing up the docs a bit * changelog updates * # This is a combination of 2 commits. # This is the 1st commit message: Update setuptools from 42.0.2 to 45.2.0 (#190) raster inherits from vector rather than base (#76) Allow geodataframes in assert_polygons (#188) fixing a few syntax errors (#194) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * fixing a few syntax errors * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser * remove tabls Co-authored-by: Nathan Korinek update changelog for release Bump version: 0.1.1 → 0.1.2 Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette Update codecov to 2.0.16 (#202) * Update codecov from 2.0.15 to 2.0.16 * update from master (#211) * Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser * Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette Co-authored-by: Nathan Korinek Co-authored-by: Leah Wasser Co-authored-by: Nathan Korinek Contributors update (#213) * Added contributor rst file and moved that information out of the README file * Implemented requested changes to README Update setuptools from 45.2.0 to 46.0.0 (#215) Add Assert points function & cleanup duplicate methods (#203) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * Taking out redundant tests * Typo * Fixing how vector checks for truth value of a dataframe Update pytest from 5.3.5 to 5.4.1 merge Additional vector tests (#212) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * First round of tests for vector * black * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * rough drafts of more tests * Added more tests for legends * Added more tests, and took out broken tests * small codacy fix * Fixed test! * Taking out redundant tests * Took out unneccesary tests * Added plt.close * Added more tests * Typo * more tests for uncovered parts of the vector file * black * Fixed issues with vector checking truth value of dataframe, and added tests * Fixing how vector checks for truth value of a dataframe * Added more coverage! * Broke tests up into individual files * black * Added tests for outlier cases * Update matplotcheck/tests/test_points.py typo Co-Authored-By: Leah Wasser * took plt.gca() out of tests * Added changes suggested on GitHub * Update CHANGELOG.md * fix import order * import order fix * import order * import order Co-authored-by: Leah Wasser Add tests to the Autograde module (#224) * Added tests for the autograde module * removed unneccesary import * Fixing issues that were failing in base_data * codacy * flake8 * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Updated changelog * flake8 fix Co-authored-by: Leah Wasser Hist bin midpoints (#204) * Add a get and assert function for bin midpoints, as well as tests for those functions * Updated docstrings * Added changelog changes and fixed minor formatting issue * small flake8 fix * Added midpoints functionatlity to the vignette for histogram testing * Adding in changes suggested on GitHub1 * Fixed function description * Took out all instances of in example * update docs * Fixed small bug with section titles * Update matplotcheck/tests/test_base_data.py * reworded changelog Co-authored-by: Leah Wasser Update setuptools from 46.1.1 to 46.1.3 (#231) Title assert accepts strings (#229) * Fixed assert_title_contains to take strings as well as lists * Better implementation * Changelog update Co-authored-by: Leah Wasser M2r remove (#247) * Removed m2r from matplotcheck, and reformated code of conduct * Seeing if rebase works * removed an m2r import * Fixing up the docs a bit * changelog updates Allow geodataframes in assert_polygons (#188) fixing a few syntax errors (#194) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * fixing a few syntax errors * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser * remove tabls Co-authored-by: Nathan Korinek Get images function (#193) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser Co-authored-by: Leah Wasser Bump version: 0.1.1 → 0.1.2 Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser Contributors update (#213) * Added contributor rst file and moved that information out of the README file * Implemented requested changes to README Add Assert points function & cleanup duplicate methods (#203) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * Taking out redundant tests * Typo * Fixing how vector checks for truth value of a dataframe Additional vector tests (#212) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * First round of tests for vector * black * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * rough drafts of more tests * Added more tests for legends * Added more tests, and took out broken tests * small codacy fix * Fixed test! * Taking out redundant tests * Took out unneccesary tests * Added plt.close * Added more tests * Typo * more tests for uncovered parts of the vector file * black * Fixed issues with vector checking truth value of dataframe, and added tests * Fixing how vector checks for truth value of a dataframe * Added more coverage! * Broke tests up into individual files * black * Added tests for outlier cases * Update matplotcheck/tests/test_points.py typo Co-Authored-By: Leah Wasser * took plt.gca() out of tests * Added changes suggested on GitHub * Update CHANGELOG.md * fix import order * import order fix * import order * import order Co-authored-by: Leah Wasser # This is the commit message #2: Update setuptools from 46.1.1 to 46.1.3 (#231) * Change handling of arrays of different shape from AssertionError to ValueError * Updated Changelog * fix copyright on docs (#244) * Add pillow (#254) * add pillow as a dev requirement * update for pillow addition * Update matplotcheck/base.py Co-Authored-By: Nathan Korinek * PEP 8 import order * pep 8 imports fix * Changelog to rst (#267) * Update setuptools from 42.0.2 to 45.2.0 (#190) * raster inherits from vector rather than base (#76) * Allow geodataframes in assert_polygons (#188) * fixing a few syntax errors (#194) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * fixing a few syntax errors * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser * remove tabls Co-authored-by: Nathan Korinek * update changelog for release * Bump version: 0.1.1 → 0.1.2 * Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser * Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette * Update codecov to 2.0.16 (#202) * Update codecov from 2.0.15 to 2.0.16 * update from master (#211) * Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser * Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette Co-authored-by: Nathan Korinek Co-authored-by: Leah Wasser Co-authored-by: Nathan Korinek * Contributors update (#213) * Added contributor rst file and moved that information out of the README file * Implemented requested changes to README * Update setuptools from 45.2.0 to 46.0.0 (#215) * Update pytest from 5.3.5 to 5.4.1 * Add Assert points function & cleanup duplicate methods (#203) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * Taking out redundant tests * Typo * Fixing how vector checks for truth value of a dataframe * merge * Additional vector tests (#212) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * First round of tests for vector * black * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * rough drafts of more tests * Added more tests for legends * Added more tests, and took out broken tests * small codacy fix * Fixed test! * Taking out redundant tests * Took out unneccesary tests * Added plt.close * Added more tests * Typo * more tests for uncovered parts of the vector file * black * Fixed issues with vector checking truth value of dataframe, and added tests * Fixing how vector checks for truth value of a dataframe * Added more coverage! * Broke tests up into individual files * black * Added tests for outlier cases * Update matplotcheck/tests/test_points.py typo Co-Authored-By: Leah Wasser * took plt.gca() out of tests * Added changes suggested on GitHub * Update CHANGELOG.md * fix import order * import order fix * import order * import order Co-authored-by: Leah Wasser * Add tests to the Autograde module (#224) * Added tests for the autograde module * removed unneccesary import * Fixing issues that were failing in base_data * codacy * flake8 * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Updated changelog * flake8 fix Co-authored-by: Leah Wasser * Hist bin midpoints (#204) * Add a get and assert function for bin midpoints, as well as tests for those functions * Updated docstrings * Added changelog changes and fixed minor formatting issue * small flake8 fix * Added midpoints functionatlity to the vignette for histogram testing * Adding in changes suggested on GitHub1 * Fixed function description * Took out all instances of in example * update docs * Fixed small bug with section titles * Update matplotcheck/tests/test_base_data.py * reworded changelog Co-authored-by: Leah Wasser * Update setuptools from 46.1.1 to 46.1.3 (#231) * Title assert accepts strings (#229) * Fixed assert_title_contains to take strings as well as lists * Better implementation * Changelog update Co-authored-by: Leah Wasser * M2r remove (#247) * Removed m2r from matplotcheck, and reformated code of conduct * Seeing if rebase works * removed an m2r import * Fixing up the docs a bit * changelog updates * # This is a combination of 2 commits. # This is the 1st commit message: Update setuptools from 42.0.2 to 45.2.0 (#190) raster inherits from vector rather than base (#76) Allow geodataframes in assert_polygons (#188) fixing a few syntax errors (#194) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * fixing a few syntax errors * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser * remove tabls Co-authored-by: Nathan Korinek update changelog for release Bump version: 0.1.1 → 0.1.2 Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette Update codecov to 2.0.16 (#202) * Update codecov from 2.0.15 to 2.0.16 * update from master (#211) * Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser * Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette Co-authored-by: Nathan Korinek Co-authored-by: Leah Wasser Co-authored-by: Nathan Korinek Contributors update (#213) * Added contributor rst file and moved that information out of the README file * Implemented requested changes to README Update setuptools from 45.2.0 to 46.0.0 (#215) Add Assert points function & cleanup duplicate methods (#203) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * Taking out redundant tests * Typo * Fixing how vector checks for truth value of a dataframe Update pytest from 5.3.5 to 5.4.1 merge Additional vector tests (#212) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * First round of tests for vector * black * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * rough drafts of more tests * Added more tests for legends * Added more tests, and took out broken tests * small codacy fix * Fixed test! * Taking out redundant tests * Took out unneccesary tests * Added plt.close * Added more tests * Typo * more tests for uncovered parts of the vector file * black * Fixed issues with vector checking truth value of dataframe, and added tests * Fixing how vector checks for truth value of a dataframe * Added more coverage! * Broke tests up into individual files * black * Added tests for outlier cases * Update matplotcheck/tests/test_points.py typo Co-Authored-By: Leah Wasser * took plt.gca() out of tests * Added changes suggested on GitHub * Update CHANGELOG.md * fix import order * import order fix * import order * import order Co-authored-by: Leah Wasser Add tests to the Autograde module (#224) * Added tests for the autograde module * removed unneccesary import * Fixing issues that were failing in base_data * codacy * flake8 * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Updated changelog * flake8 fix Co-authored-by: Leah Wasser Hist bin midpoints (#204) * Add a get and assert function for bin midpoints, as well as tests for those functions * Updated docstrings * Added changelog changes and fixed minor formatting issue * small flake8 fix * Added midpoints functionatlity to the vignette for histogram testing * Adding in changes suggested on GitHub1 * Fixed function description * Took out all instances of in example * update docs * Fixed small bug with section titles * Update matplotcheck/tests/test_base_data.py * reworded changelog Co-authored-by: Leah Wasser Update setuptools from 46.1.1 to 46.1.3 (#231) Title assert accepts strings (#229) * Fixed assert_title_contains to take strings as well as lists * Better implementation * Changelog update Co-authored-by: Leah Wasser M2r remove (#247) * Removed m2r from matplotcheck, and reformated code of conduct * Seeing if rebase works * removed an m2r import * Fixing up the docs a bit * changelog updates Allow geodataframes in assert_polygons (#188) fixing a few syntax errors (#194) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * fixing a few syntax errors * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser * remove tabls Co-authored-by: Nathan Korinek Get images function (#193) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser Co-authored-by: Leah Wasser Bump version: 0.1.1 → 0.1.2 Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser Contributors update (#213) * Added contributor rst file and moved that information out of the README file * Implemented requested changes to README Add Assert points function & cleanup duplicate methods (#203) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * Taking out redundant tests * Typo * Fixing how vector checks for truth value of a dataframe Additional vector tests (#212) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * First round of tests for vector * black * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * rough drafts of more tests * Added more tests for legends * Added more tests, and took out broken tests * small codacy fix * Fixed test! * Taking out redundant tests * Took out unneccesary tests * Added plt.close * Added more tests * Typo * more tests for uncovered parts of the vector file * black * Fixed issues with vector checking truth value of dataframe, and added tests * Fixing how vector checks for truth value of a dataframe * Added more coverage! * Broke tests up into individual files * black * Added tests for outlier cases * Update matplotcheck/tests/test_points.py typo Co-Authored-By: Leah Wasser * took plt.gca() out of tests * Added changes suggested on GitHub * Update CHANGELOG.md * fix import order * import order fix * import order * import order Co-authored-by: Leah Wasser # This is the commit message #2: Update setuptools from 46.1.1 to 46.1.3 (#231) * fix copyright on docs (#244) * Add pillow (#254) * add pillow as a dev requirement * update for pillow addition * Changed the changelog to an rst file instead of a markdown file and added it to the docs build. * Put changelog changes into the new changelog lol Co-authored-by: pyup.io bot Co-authored-by: Leah Wasser * setup greetings! (#257) * Final changes * delete markdown changelog * Added changes to take away unneccesary parameters * fixed merge error * black * small reword to force rebuild Co-authored-by: Ryan LaRocque Co-authored-by: Leah Wasser Co-authored-by: pyup.io bot * Update pytest from 5.4.1 to 5.4.2 (#275) * remove rebase * Test coverage for lines (#274) * Add line tests for base module, changes to line methods in base module. * Fixed bug with how line limits are checke * Update setuptools from 42.0.2 to 45.2.0 (#190) * raster inherits from vector rather than base (#76) * Allow geodataframes in assert_polygons (#188) * fixing a few syntax errors (#194) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * fixing a few syntax errors * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser * remove tabls Co-authored-by: Nathan Korinek * update changelog for release * Bump version: 0.1.1 → 0.1.2 * Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser * Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette * Update codecov to 2.0.16 (#202) * Update codecov from 2.0.15 to 2.0.16 * update from master (#211) * Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser * Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette Co-authored-by: Nathan Korinek Co-authored-by: Leah Wasser Co-authored-by: Nathan Korinek * Contributors update (#213) * Added contributor rst file and moved that information out of the README file * Implemented requested changes to README * Update setuptools from 45.2.0 to 46.0.0 (#215) * Update pytest from 5.3.5 to 5.4.1 * Add Assert points function & cleanup duplicate methods (#203) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * Taking out redundant tests * Typo * Fixing how vector checks for truth value of a dataframe * merge * Additional vector tests (#212) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * First round of tests for vector * black * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * rough drafts of more tests * Added more tests for legends * Added more tests, and took out broken tests * small codacy fix * Fixed test! * Taking out redundant tests * Took out unneccesary tests * Added plt.close * Added more tests * Typo * more tests for uncovered parts of the vector file * black * Fixed issues with vector checking truth value of dataframe, and added tests * Fixing how vector checks for truth value of a dataframe * Added more coverage! * Broke tests up into individual files * black * Added tests for outlier cases * Update matplotcheck/tests/test_points.py typo Co-Authored-By: Leah Wasser * took plt.gca() out of tests * Added changes suggested on GitHub * Update CHANGELOG.md * fix import order * import order fix * import order * import order Co-authored-by: Leah Wasser * Add tests to the Autograde module (#224) * Added tests for the autograde module * removed unneccesary import * Fixing issues that were failing in base_data * codacy * flake8 * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Updated changelog * flake8 fix Co-authored-by: Leah Wasser * Hist bin midpoints (#204) * Add a get and assert function for bin midpoints, as well as tests for those functions * Updated docstrings * Added changelog changes and fixed minor formatting issue * small flake8 fix * Added midpoints functionatlity to the vignette for histogram testing * Adding in changes suggested on GitHub1 * Fixed function description * Took out all instances of in example * update docs * Fixed small bug with section titles * Update matplotcheck/tests/test_base_data.py * reworded changelog Co-authored-by: Leah Wasser * Update setuptools from 46.1.1 to 46.1.3 (#231) * Title assert accepts strings (#229) * Fixed assert_title_contains to take strings as well as lists * Better implementation * Changelog update Co-authored-by: Leah Wasser * M2r remove (#247) * Removed m2r from matplotcheck, and reformated code of conduct * Seeing if rebase works * removed an m2r import * Fixing up the docs a bit * changelog updates * # This is a combination of 2 commits. # This is the 1st commit message: Update setuptools from 42.0.2 to 45.2.0 (#190) raster inherits from vector rather than base (#76) Allow geodataframes in assert_polygons (#188) fixing a few syntax errors (#194) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * fixing a few syntax errors * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser * remove tabls Co-authored-by: Nathan Korinek update changelog for release Bump version: 0.1.1 → 0.1.2 Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette Update codecov to 2.0.16 (#202) * Update codecov from 2.0.15 to 2.0.16 * update from master (#211) * Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser * Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette Co-authored-by: Nathan Korinek Co-authored-by: Leah Wasser Co-authored-by: Nathan Korinek Contributors update (#213) * Added contributor rst file and moved that information out of the README file * Implemented requested changes to README Update setuptools from 45.2.0 to 46.0.0 (#215) Add Assert points function & cleanup duplicate methods (#203) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * Taking out redundant tests * Typo * Fixing how vector checks for truth value of a dataframe Update pytest from 5.3.5 to 5.4.1 merge Additional vector tests (#212) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * First round of tests for vector * black * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * rough drafts of more tests * Added more tests for legends * Added more tests, and took out broken tests * small codacy fix * Fixed test! * Taking out redundant tests * Took out unneccesary tests * Added plt.close * Added more tests * Typo * more tests for uncovered parts of the vector file * black * Fixed issues with vector checking truth value of dataframe, and added tests * Fixing how vector checks for truth value of a dataframe * Added more coverage! * Broke tests up into individual files * black * Added tests for outlier cases * Update matplotcheck/tests/test_points.py typo Co-Authored-By: Leah Wasser * took plt.gca() out of tests * Added changes suggested on GitHub * Update CHANGELOG.md * fix import order * import order fix * import order * import order Co-authored-by: Leah Wasser Add tests to the Autograde module (#224) * Added tests for the autograde module * removed unneccesary import * Fixing issues that were failing in base_data * codacy * flake8 * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Updated changelog * flake8 fix Co-authored-by: Leah Wasser Hist bin midpoints (#204) * Add a get and assert function for bin midpoints, as well as tests for those functions * Updated docstrings * Added changelog changes and fixed minor formatting issue * small flake8 fix * Added midpoints functionatlity to the vignette for histogram testing * Adding in changes suggested on GitHub1 * Fixed function description * Took out all instances of in example * update docs * Fixed small bug with section titles * Update matplotcheck/tests/test_base_data.py * reworded changelog Co-authored-by: Leah Wasser Update setuptools from 46.1.1 to 46.1.3 (#231) Title assert accepts strings (#229) * Fixed assert_title_contains to take strings as well as lists * Better implementation * Changelog update Co-authored-by: Leah Wasser M2r remove (#247) * Removed m2r from matplotcheck, and reformated code of conduct * Seeing if rebase works * removed an m2r import * Fixing up the docs a bit * changelog updates Allow geodataframes in assert_polygons (#188) fixing a few syntax errors (#194) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * fixing a few syntax errors * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser * remove tabls Co-authored-by: Nathan Korinek Get images function (#193) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser Co-authored-by: Leah Wasser Bump version: 0.1.1 → 0.1.2 Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser Contributors update (#213) * Added contributor rst file and moved that information out of the README file * Implemented requested changes to README Add Assert points function & cleanup duplicate methods (#203) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * Taking out redundant tests * Typo * Fixing how vector checks for truth value of a dataframe Additional vector tests (#212) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * First round of tests for vector * black * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * rough drafts of more tests * Added more tests for legends * Added more tests, and took out broken tests * small codacy fix * Fixed test! * Taking out redundant tests * Took out unneccesary tests * Added plt.close * Added more tests * Typo * more tests for uncovered parts of the vector file * black * Fixed issues with vector checking truth value of dataframe, and added tests * Fixing how vector checks for truth value of a dataframe * Added more coverage! * Broke tests up into individual files * black * Added tests for outlier cases * Update matplotcheck/tests/test_points.py typo Co-Authored-By: Leah Wasser * took plt.gca() out of tests * Added changes suggested on GitHub * Update CHANGELOG.md * fix import order * import order fix * import order * import order Co-authored-by: Leah Wasser # This is the commit message #2: Update setuptools from 46.1.1 to 46.1.3 (#231) * Minor change to assert_xy conversion method. * Revert "Minor change to assert_xy conversion method." This reverts commit bfa569fef74938a03362aa04922243a28cf6b28c. * fix copyright on docs (#244) * Add pillow (#254) * add pillow as a dev requirement * update for pillow addition * Improved handline of lines without xy-data (Issue #238) * Added docstrings to line tests. * Added Seaborn to dev requirements * Undo changes regarding x-limits problems (Issue #235) * Fixed issue with new way of checking that the data is covered by the line * Changelog to rst (#267) * Update setuptools from 42.0.2 to 45.2.0 (#190) * raster inherits from vector rather than base (#76) * Allow geodataframes in assert_polygons (#188) * fixing a few syntax errors (#194) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * fixing a few syntax errors * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser * remove tabls Co-authored-by: Nathan Korinek * update changelog for release * Bump version: 0.1.1 → 0.1.2 * Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser * Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette * Update codecov to 2.0.16 (#202) * Update codecov from 2.0.15 to 2.0.16 * update from master (#211) * Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser * Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette Co-authored-by: Nathan Korinek Co-authored-by: Leah Wasser Co-authored-by: Nathan Korinek * Contributors update (#213) * Added contributor rst file and moved that information out of the README file * Implemented requested changes to README * Update setuptools from 45.2.0 to 46.0.0 (#215) * Update pytest from 5.3.5 to 5.4.1 * Add Assert points function & cleanup duplicate methods (#203) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * Taking out redundant tests * Typo * Fixing how vector checks for truth value of a dataframe * merge * Additional vector tests (#212) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * First round of tests for vector * black * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * rough drafts of more tests * Added more tests for legends * Added more tests, and took out broken tests * small codacy fix * Fixed test! * Taking out redundant tests * Took out unneccesary tests * Added plt.close * Added more tests * Typo * more tests for uncovered parts of the vector file * black * Fixed issues with vector checking truth value of dataframe, and added tests * Fixing how vector checks for truth value of a dataframe * Added more coverage! * Broke tests up into individual files * black * Added tests for outlier cases * Update matplotcheck/tests/test_points.py typo Co-Authored-By: Leah Wasser * took plt.gca() out of tests * Added changes suggested on GitHub * Update CHANGELOG.md * fix import order * import order fix * import order * import order Co-authored-by: Leah Wasser * Add tests to the Autograde module (#224) * Added tests for the autograde module * removed unneccesary import * Fixing issues that were failing in base_data * codacy * flake8 * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Updated changelog * flake8 fix Co-authored-by: Leah Wasser * Hist bin midpoints (#204) * Add a get and assert function for bin midpoints, as well as tests for those functions * Updated docstrings * Added changelog changes and fixed minor formatting issue * small flake8 fix * Added midpoints functionatlity to the vignette for histogram testing * Adding in changes suggested on GitHub1 * Fixed function description * Took out all instances of in example * update docs * Fixed small bug with section titles * Update matplotcheck/tests/test_base_data.py * reworded changelog Co-authored-by: Leah Wasser * Update setuptools from 46.1.1 to 46.1.3 (#231) * Title assert accepts strings (#229) * Fixed assert_title_contains to take strings as well as lists * Better implementation * Changelog update Co-authored-by: Leah Wasser * M2r remove (#247) * Removed m2r from matplotcheck, and reformated code of conduct * Seeing if rebase works * removed an m2r import * Fixing up the docs a bit * changelog updates * # This is a combination of 2 commits. # This is the 1st commit message: Update setuptools from 42.0.2 to 45.2.0 (#190) raster inherits from vector rather than base (#76) Allow geodataframes in assert_polygons (#188) fixing a few syntax errors (#194) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * fixing a few syntax errors * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser * remove tabls Co-authored-by: Nathan Korinek update changelog for release Bump version: 0.1.1 → 0.1.2 Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette Update codecov to 2.0.16 (#202) * Update codecov from 2.0.15 to 2.0.16 * update from master (#211) * Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser * Assert string accept spaces (#205) * Made it so that assert_string_contains accepts key words with spaces * black * renaming function * Showed assert_title_contains working with a space in the keyword in vignette Co-authored-by: Nathan Korinek Co-authored-by: Leah Wasser Co-authored-by: Nathan Korinek Contributors update (#213) * Added contributor rst file and moved that information out of the README file * Implemented requested changes to README Update setuptools from 45.2.0 to 46.0.0 (#215) Add Assert points function & cleanup duplicate methods (#203) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * Taking out redundant tests * Typo * Fixing how vector checks for truth value of a dataframe Update pytest from 5.3.5 to 5.4.1 merge Additional vector tests (#212) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * First round of tests for vector * black * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * rough drafts of more tests * Added more tests for legends * Added more tests, and took out broken tests * small codacy fix * Fixed test! * Taking out redundant tests * Took out unneccesary tests * Added plt.close * Added more tests * Typo * more tests for uncovered parts of the vector file * black * Fixed issues with vector checking truth value of dataframe, and added tests * Fixing how vector checks for truth value of a dataframe * Added more coverage! * Broke tests up into individual files * black * Added tests for outlier cases * Update matplotcheck/tests/test_points.py typo Co-Authored-By: Leah Wasser * took plt.gca() out of tests * Added changes suggested on GitHub * Update CHANGELOG.md * fix import order * import order fix * import order * import order Co-authored-by: Leah Wasser Add tests to the Autograde module (#224) * Added tests for the autograde module * removed unneccesary import * Fixing issues that were failing in base_data * codacy * flake8 * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser * Updated changelog * flake8 fix Co-authored-by: Leah Wasser Hist bin midpoints (#204) * Add a get and assert function for bin midpoints, as well as tests for those functions * Updated docstrings * Added changelog changes and fixed minor formatting issue * small flake8 fix * Added midpoints functionatlity to the vignette for histogram testing * Adding in changes suggested on GitHub1 * Fixed function description * Took out all instances of in example * update docs * Fixed small bug with section titles * Update matplotcheck/tests/test_base_data.py * reworded changelog Co-authored-by: Leah Wasser Update setuptools from 46.1.1 to 46.1.3 (#231) Title assert accepts strings (#229) * Fixed assert_title_contains to take strings as well as lists * Better implementation * Changelog update Co-authored-by: Leah Wasser M2r remove (#247) * Removed m2r from matplotcheck, and reformated code of conduct * Seeing if rebase works * removed an m2r import * Fixing up the docs a bit * changelog updates Allow geodataframes in assert_polygons (#188) fixing a few syntax errors (#194) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * fixing a few syntax errors * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser * remove tabls Co-authored-by: Nathan Korinek Get images function (#193) * First draft of get_images function * Added a test for get_image * Changelog update * minor formatting change. * black changes * Update matplotcheck/raster.py Co-Authored-By: Leah Wasser Co-authored-by: Leah Wasser Bump version: 0.1.1 → 0.1.2 Add flake8 fix [WIP] (#199) * add flake 8 * yay cleanup * update change log * add flake 8 dep * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * more line length issues * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * fixed test_base_axis.py * fixed text_base_data.py * fixed test_base_legends.py * fixed test_base_titles_captions.py * Format files to be flake8 acceptable (#197) * autograde flake8 fixes * Fixed base to be flake8 compliant (phew) * Made folium.py flake8 compliant * made notebook.py flake8 compliant * Fixed raster.py for flake8 * Fixed timeseries.py * fixed conftest.py * fixed test_base.py * Fixed test_raster.py and issue with legends tests * black * more black changes * Fixing merge conflicts that were found * Changing accepted changes * minor changes * Changing to make CI happy, modified to pass black and make -B docs * Reformatting to make black and flake8 happy. Also updated crs assignment * Fixed formatting issue with timeseries * Better fix for timeseries formatting * Black Co-authored-by: Leah Wasser Contributors update (#213) * Added contributor rst file and moved that information out of the README file * Implemented requested changes to README Add Assert points function & cleanup duplicate methods (#203) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * Taking out redundant tests * Typo * Fixing how vector checks for truth value of a dataframe Additional vector tests (#212) * Added a get_points() and assert_points() function to the vector tester. * Added in get_points() and assert_points() functions with tests * Added proper documentation * Small fix to please codacy * black * Updated changelog * First round of tests for vector * black * Rough draft for bug fix * Fixed bug with multiple geometries plotted alongside bug with identical x values causing failure! * typo * Fixed small bug with markersize * Added comments explaining code * rough drafts of more tests * Added more tests for legends * Added more tests, and took out broken tests * small codacy fix * Fixed test! * Taking out redundant tests * Took out unneccesary tests * Added plt.close * Added more tests * Typo * more tests for uncovered parts of the vector file * black * Fixed issues with vector checking truth value of dataframe, and added tests * Fixing how vector checks for truth value of a dataframe * Added more coverage! * Broke tests up into individual files * black * Added tests for outlier cases * Update matplotcheck/tests/test_points.py typo Co-Authored-By: Leah Wasser * took plt.gca() out of tests * Added changes suggested on GitHub * Update CHANGELOG.md * fix import order * import order fix * import order * import order Co-authored-by: Leah Wasser # This is the commit message #2: Update setuptools from 46.1.1 to 46.1.3 (#231) * fix copyright on docs (#244) * Add pillow (#254) * add pillow as a dev requirement * update for pillow addition * Changed the changelog to an rst file instead of a markdown file and added it to the docs build. * Put changelog changes into the new changelog lol Co-authored-by: pyup.io bot Co-authored-by: Leah Wasser * setup greetings! (#257) * Made checking line coverage optional for base.assert_line() * Fix double requirement in dev-requirements.txt * Change seaborn version * Seaborn requirement version change * Added comment to clarify changes * Merged two PRs and made it so they pass pytest * black * Added more tests to test that the limit checks are correct in the assert_line function * pleasing flake8 issues that came up on the pr * Update matplotcheck/base.py * Update matplotcheck/base.py * small typo fix! Co-authored-by: Ryan (Marty) LaRocque Co-authored-by: pyup.io bot Co-authored-by: Leah Wasser * Updated to run github actions, install with pypi, and have codecov * Added needed packae * Added needed package again Co-authored-by: pyup.io bot Co-authored-by: Leah Wasser Co-authored-by: Ryan LaRocque --- .github/workflows/code-cov.yml | 36 ++++++++++++++++++++ .github/workflows/lint-docs.yml | 43 ++++++++++++++++++++++++ .github/workflows/publish-pypi.yml | 31 +++++++++++++++++ .github/workflows/run-tests.yml | 53 ++++++++++++++++++++++++++++++ .travis.yml | 34 ------------------- .travis/install.sh | 26 --------------- .travis/test.sh | 11 ------- appveyor.yml | 39 ---------------------- tox.ini | 30 ----------------- 9 files changed, 163 insertions(+), 140 deletions(-) create mode 100644 .github/workflows/code-cov.yml create mode 100644 .github/workflows/lint-docs.yml create mode 100644 .github/workflows/publish-pypi.yml create mode 100644 .github/workflows/run-tests.yml delete mode 100644 .travis.yml delete mode 100644 .travis/install.sh delete mode 100644 .travis/test.sh delete mode 100644 appveyor.yml delete mode 100644 tox.ini diff --git a/.github/workflows/code-cov.yml b/.github/workflows/code-cov.yml new file mode 100644 index 00000000..0f46cc3c --- /dev/null +++ b/.github/workflows/code-cov.yml @@ -0,0 +1,36 @@ +name: Codecov +on: [push] +jobs: + run: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest] + env: + OS: ${{ matrix.os }} + PYTHON: '3.7' + steps: + - uses: actions/checkout@master + - name: Setup Python + uses: actions/setup-python@master + with: + python-version: 3.7 + - name: Generate coverage report + run: | + pip install pytest + pip install pytest-cov + pip install -e . + pytest --cov=./ --cov-report=xml + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v1.0.5 + with: + token: ${{ secrets.CODECOV_TOKEN }} + file: ./coverage.xml + files: ./coverage1.xml,./coverage2.xml + directory: ./coverage/reports/ + flags: unittests + env_vars: OS,PYTHON + name: codecov-umbrella + fail_ci_if_error: true + path_to_write_report: ./coverage/codecov_report.txt + verbose: true \ No newline at end of file diff --git a/.github/workflows/lint-docs.yml b/.github/workflows/lint-docs.yml new file mode 100644 index 00000000..36edbada --- /dev/null +++ b/.github/workflows/lint-docs.yml @@ -0,0 +1,43 @@ +# This workflow only runs linting and builds the documentation + +name: Docs & Linting - Matrix OS / Python Version + +on: + push: + branches: + - '*' + pull_request: + branches: + - '*' + +jobs: + setup-build: + name: Ex1 (${{ matrix.python-version }}, ${{ matrix.os }}) + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: ["ubuntu-latest", "macos-latest"] + python-version: [3.8] + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r dev-requirements.txt + pip install black flake8 + pip install -e . + - name: Build Docs + run: | + make docs -B + - name: Run Black + run: | + flake8 matplotcheck + - name: Run Flake8 + run: | + flake8 matplotcheck diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml new file mode 100644 index 00000000..4e1ef42d --- /dev/null +++ b/.github/workflows/publish-pypi.yml @@ -0,0 +1,31 @@ +# This workflows will upload a Python Package using Twine when a release is created +# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries + +name: Upload Python Package + +on: + release: + types: [created] + +jobs: + deploy: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install setuptools wheel twine + - name: Build and publish + env: + TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} + TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + run: | + python setup.py sdist bdist_wheel + twine upload dist/* diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml new file mode 100644 index 00000000..6e951d18 --- /dev/null +++ b/.github/workflows/run-tests.yml @@ -0,0 +1,53 @@ +# This workflow runs tests for matplotcheck +# Because we want a conda environment - and that builds slower, +# we divided up tests from linting and docs to make for simpler install envts + +name: Run Tests - Matrix OS / Python Version + +on: + push: + branches: + - '*' + pull_request: + branches: + - '*' + +jobs: + example-1: + name: Ex1 (${{ matrix.python-version }}, ${{ matrix.os }}) + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: ["ubuntu-latest", "macos-latest", "windows-latest"] + python-version: [3.6, 3.7, 3.8] + + steps: + - uses: actions/checkout@v2 + - name: Setup Conda + uses: s-weigand/setup-conda@v1 + with: + update-conda: true + conda-channels: conda-forge + python-version: ${{ matrix.python-version }} + + - name: Install Env + shell: bash + run: | + python --version + #conda env create -f ci/environment.yml + conda install -c conda-forge matplotlib \ + pytest requests \ + geopandas rasterio scikit-image \ + seaborn descartes + + - name: Check Environment + shell: bash + run: | + conda list + python --version + - name: Run Tests + shell: bash + run: | + pytest -v --color=yes + python --version diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0102a669..00000000 --- a/.travis.yml +++ /dev/null @@ -1,34 +0,0 @@ -language: python -matrix: - include: - - os: linux - dist: xenial - python: 3.6 - env: TOXENV=py36 - - os: linux - dist: xenial - python: 3.7 - env: TOXENV=py37 - - os: linux - dist: xenial - python: 3.8 - env: TOXENV=py38,black,docs - - os: osx - language: generic -install: -- chmod +x .travis/install.sh -- "./.travis/install.sh" -script: -- chmod +x .travis/test.sh -- "./.travis/test.sh" -after_success: -- codecov -deploy: - provider: pypi - user: lwasser - password: - secure: imOBXR7U5VDOUZ9g4ZdMVl1ybO/bn2eHODHO6Fh2nAD9YoQ09njbNoS3nPgih5l1mCU3SW40d9t1OuEQ26qthHCt4U+AVm/BVjdMmC/qe2et4spf8ITmUd+AasiduvTsrnevsQMgzEHAEXhPTVSD+ZO2+0MqH/2Z9YHi+yzhMYFbw0HZSp0qnm837jtQQwjEwtX61BxWnB5Shdoqg8BKIzT1Hv0ME7sj/Ho4Q0Zh2YfHD+0mGGET0QQjMfI+0Xhql+D63n0W3JG6dPT/UPNAx/ywgqRANcrxwCKA9QRpgEg0a2gx0CZC8hD6bH182M/BVxTavJsM1GFVv+RYyHu3jy7JtIjSx0F8saHc+aAGB4UTaSeAf6YLlTXWTeSNdaPsPK6qEsAitk+Z8SkdENU2OzoPwqnBAFuXHjIhDDQb7raqNM17eUMRrSkABnD3134t87AVzZo2wA474nCUEH5h1zOvStGKP+twLKcyl7t+G2M409CAlvZ3mG7GU586DjIZU/J1SafNZ0ooNE5I7WLadvZuVhvX4hUPvfhNaD385SYI/dBtFHS0x4O8sNn96XXXAu9Bwl6Y3FuteRvY5uAT1MS0+rhJPnjBvQdcKTRhqRzENcIBetJdTpzHem1OTFhQYQEivf20ZuLnZrQRd4J4pfKnPrvj/Iof9OfOsidqdLc= - on: - tags: true - repo: earthlab/matplotcheck - python: 3.6 diff --git a/.travis/install.sh b/.travis/install.sh deleted file mode 100644 index 12963f60..00000000 --- a/.travis/install.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash - -if [[ $TRAVIS_OS_NAME == 'osx' ]]; then - - # install conda and the matplotcheck-dev environment - wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O ~/miniconda.sh - bash ~/miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - echo "conda activate base" >> ~/.bashrc - source $HOME/miniconda/bin/activate - conda config --set always_yes yes --set show_channel_urls true --set changeps1 no - conda update -q conda - conda config --add channels conda-forge - conda info -a - conda init bash - conda env create -f environment.yml - conda activate matplotcheck-dev - python setup.py install - pip install -r dev-requirements.txt - -else - sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable --yes - sudo apt-get update - sudo apt-get install -y libspatialindex-dev libgdal-dev python3-tk - pip install tox-travis -fi diff --git a/.travis/test.sh b/.travis/test.sh deleted file mode 100644 index 5b6c294c..00000000 --- a/.travis/test.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -if [[ $TRAVIS_OS_NAME == 'osx' ]]; then - source $HOME/miniconda/bin/activate - export PATH="$HOME/miniconda/bin:$PATH" - conda activate matplotcheck-dev - python -m pytest -v - make -B docs -else - tox -fi diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index f1387f5c..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,39 +0,0 @@ -# Adapted from geopandas and earthpy setup -# https://github.com/geopandas/geopandas/blob/master/appveyor.yml -# https://github.com/earthlab/earthpy/blob/master/appveyor.yml - -matrix: - fast_finish: true # immediately finish build once one of the jobs fails. - -environment: - matrix: - - PYTHON_VERSION: "3.6" - MINICONDA: C:\Miniconda36-x64 - -build: false - -init: - - "ECHO %PYTHON_VERSION% %MINICONDA%" - -install: - # cancel older builds for the same PR - - ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod ` - https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | ` - Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` - throw "There are newer queued builds for this pull request, failing early." } - - # set up environment - - "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%" - - conda config --set always_yes yes --set show_channel_urls true --set changeps1 no - - conda update -q conda - - conda config --add channels conda-forge - - conda info -a - - conda env create -f environment.yml - - activate matplotcheck-dev - - pip install -e . --no-deps - - pip install -r dev-requirements.txt - -test_script: - - conda list - - conda info -a - - pytest diff --git a/tox.ini b/tox.ini deleted file mode 100644 index b4f80221..00000000 --- a/tox.ini +++ /dev/null @@ -1,30 +0,0 @@ -[tox] -envlist = py36, py37, py38, black, docs - -[travis] -python = - 3.6: py36 - 3.7: py37 - 3.8: py38, docs, black - -[testenv] -passenv = * -deps = - -r{toxinidir}/dev-requirements.txt -whitelist_externals = pytest -commands = - pytest -v --basetemp={envtmpdir} --cov=matplotcheck - codecov -e TOXENV - -[testenv:black] -deps = - pip>=19.0 - black - flake8 -basepython = python3 -commands = black --check --verbose matplotcheck - flake8 matplotcheck - -[testenv:docs] -whitelist_externals = make -commands = make -B docs From c7099a185f327bec5796a96b551081d9d4eb627e Mon Sep 17 00:00:00 2001 From: Leah Wasser Date: Thu, 3 Dec 2020 16:43:05 -0700 Subject: [PATCH 2/3] install seaborn --- .github/workflows/code-cov.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code-cov.yml b/.github/workflows/code-cov.yml index 0f46cc3c..3e8390b5 100644 --- a/.github/workflows/code-cov.yml +++ b/.github/workflows/code-cov.yml @@ -1,4 +1,4 @@ -name: Codecov +name: Update Codecov on: [push] jobs: run: @@ -19,6 +19,7 @@ jobs: run: | pip install pytest pip install pytest-cov + pip install seaborn pip install -e . pytest --cov=./ --cov-report=xml - name: Upload coverage to Codecov @@ -33,4 +34,4 @@ jobs: name: codecov-umbrella fail_ci_if_error: true path_to_write_report: ./coverage/codecov_report.txt - verbose: true \ No newline at end of file + verbose: true From 78fb13f581a2ac0e061c5d3ca177009002c23e82 Mon Sep 17 00:00:00 2001 From: Leah Wasser Date: Thu, 3 Dec 2020 17:43:02 -0700 Subject: [PATCH 3/3] add descartes --- .github/workflows/code-cov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code-cov.yml b/.github/workflows/code-cov.yml index 3e8390b5..7f559656 100644 --- a/.github/workflows/code-cov.yml +++ b/.github/workflows/code-cov.yml @@ -19,7 +19,7 @@ jobs: run: | pip install pytest pip install pytest-cov - pip install seaborn + pip install seaborn descartes pip install -e . pytest --cov=./ --cov-report=xml - name: Upload coverage to Codecov