Scatter Plot w Fit Lines Vignette#228
Conversation
Updating files
Update setuptools from 42.0.2 to 45.2.0 (earthlab#190)
raster inherits from vector rather than base (earthlab#76)
Allow geodataframes in assert_polygons (earthlab#188)
Updating from master
updating
Add flake8 fix [WIP] (earthlab#199)
Assert string accept spaces (earthlab#205)
Add Assert points function & cleanup duplicate methods (earthlab#203)
Update pytest from 5.3.5 to 5.4.1
Codecov Report
@@ Coverage Diff @@
## master #228 +/- ##
=======================================
Coverage 83.06% 83.06%
=======================================
Files 21 21
Lines 1943 1943
=======================================
Hits 1614 1614
Misses 329 329 Continue to review full report at Codecov.
|
|
@lwasser so this vignette is failing due to my use of seaborn to plot the regression line. Seaborn is not part of the CI environment. Do you want me to figure out a way to plot this without seaborn, or would we be able to add it to the environment? I know we've talked about not adding anymore packages to this environment, but thought I'd see what your opinion was. Thanks! |
|
@nkorinek ahhhhh we can add seaborn to our docs envt. i'm not sure if you can do it here. https://github.com/earthlab/matplotcheck/blob/master/readthedocs.yml the easiest would be to use something else. is that an option tho? some tools like geopandas do have a yml file just for read the docs. |
Add tests to the Autograde module (earthlab#224)
|
@nkorinek let's keep this simple. let's add seaborn as a dev-requirements item in the list of tools |
|
For our documentation, we have verbally discussed changes that will be completed by nkorinek, including the addition of more explanation about the object type that is being tested (e.g. a story about what kind of data is being used and what the test is actually looking for) both at the top of the notebook and in the comments, and a new section at the bottom of the vignette for additional options when using a Jupyter Notebook implementation. |
|
Update: this now relies on #274 to be merged first |
lwasser
left a comment
There was a problem hiding this comment.
ok @nkorinek a few more things on this vignette . When i build it i see this in the output. i'm just wondering if we use plt.show() in other vignettes as this seems to cause an issue given we have agg settings to ensure CI doesn't get confused. I suspect we don't want to use plt.show() in this vignette.
This vignette is making more sense to me. it's not actually a line plot vignette. it's a way to test lines on scatter plots. Given that i think we need a section above the jupyter section that shows the user how to
- test the point data on the plot
- test the x and y axis labels
- test the plot title.
This can be a fairly simple section but it would be best if people had everything they need to test a scatter plot with those two lines on it in one place. we then may rename the vignette. Take a stab at this and i'll look at it again.
* 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 (earthlab#190) * raster inherits from vector rather than base (earthlab#76) * Allow geodataframes in assert_polygons (earthlab#188) * fixing a few syntax errors (earthlab#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 <leah.wasser@colorado.edu> * remove tabls Co-authored-by: Nathan Korinek <nako1890@colorado.edu> * update changelog for release * Bump version: 0.1.1 → 0.1.2 * Add flake8 fix [WIP] (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * Assert string accept spaces (earthlab#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 (earthlab#202) * Update codecov from 2.0.15 to 2.0.16 * update from master (earthlab#211) * Add flake8 fix [WIP] (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * Assert string accept spaces (earthlab#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 <nako1890@colorado.edu> Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> Co-authored-by: Nathan Korinek <nako1890@colorado.edu> * Contributors update (earthlab#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 (earthlab#215) * Update pytest from 5.3.5 to 5.4.1 * Add Assert points function & cleanup duplicate methods (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * 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 <leah.wasser@colorado.edu> * Add tests to the Autograde module (earthlab#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 <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Updated changelog * flake8 fix Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> * Hist bin midpoints (earthlab#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 <leah.wasser@colorado.edu> * Update setuptools from 46.1.1 to 46.1.3 (earthlab#231) * Title assert accepts strings (earthlab#229) * Fixed assert_title_contains to take strings as well as lists * Better implementation * Changelog update Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> * M2r remove (earthlab#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 (earthlab#190) raster inherits from vector rather than base (earthlab#76) Allow geodataframes in assert_polygons (earthlab#188) fixing a few syntax errors (earthlab#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 <leah.wasser@colorado.edu> * remove tabls Co-authored-by: Nathan Korinek <nako1890@colorado.edu> update changelog for release Bump version: 0.1.1 → 0.1.2 Add flake8 fix [WIP] (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> Assert string accept spaces (earthlab#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 (earthlab#202) * Update codecov from 2.0.15 to 2.0.16 * update from master (earthlab#211) * Add flake8 fix [WIP] (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * Assert string accept spaces (earthlab#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 <nako1890@colorado.edu> Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> Co-authored-by: Nathan Korinek <nako1890@colorado.edu> Contributors update (earthlab#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 (earthlab#215) Add Assert points function & cleanup duplicate methods (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * 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 <leah.wasser@colorado.edu> Add tests to the Autograde module (earthlab#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 <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Updated changelog * flake8 fix Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> Hist bin midpoints (earthlab#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 <leah.wasser@colorado.edu> Update setuptools from 46.1.1 to 46.1.3 (earthlab#231) Title assert accepts strings (earthlab#229) * Fixed assert_title_contains to take strings as well as lists * Better implementation * Changelog update Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> M2r remove (earthlab#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 (earthlab#188) fixing a few syntax errors (earthlab#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 <leah.wasser@colorado.edu> * remove tabls Co-authored-by: Nathan Korinek <nako1890@colorado.edu> Get images function (earthlab#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 <leah.wasser@colorado.edu> Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> Bump version: 0.1.1 → 0.1.2 Add flake8 fix [WIP] (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> Contributors update (earthlab#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 (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * 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 <leah.wasser@colorado.edu> # This is the commit message #2: Update setuptools from 46.1.1 to 46.1.3 (earthlab#231) * Change handling of arrays of different shape from AssertionError to ValueError * Updated Changelog * fix copyright on docs (earthlab#244) * Add pillow (earthlab#254) * add pillow as a dev requirement * update for pillow addition * Update matplotcheck/base.py Co-Authored-By: Nathan Korinek <nako1890@colorado.edu> * PEP 8 import order * pep 8 imports fix * Changelog to rst (earthlab#267) * Update setuptools from 42.0.2 to 45.2.0 (earthlab#190) * raster inherits from vector rather than base (earthlab#76) * Allow geodataframes in assert_polygons (earthlab#188) * fixing a few syntax errors (earthlab#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 <leah.wasser@colorado.edu> * remove tabls Co-authored-by: Nathan Korinek <nako1890@colorado.edu> * update changelog for release * Bump version: 0.1.1 → 0.1.2 * Add flake8 fix [WIP] (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * Assert string accept spaces (earthlab#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 (earthlab#202) * Update codecov from 2.0.15 to 2.0.16 * update from master (earthlab#211) * Add flake8 fix [WIP] (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * Assert string accept spaces (earthlab#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 <nako1890@colorado.edu> Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> Co-authored-by: Nathan Korinek <nako1890@colorado.edu> * Contributors update (earthlab#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 (earthlab#215) * Update pytest from 5.3.5 to 5.4.1 * Add Assert points function & cleanup duplicate methods (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * 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 <leah.wasser@colorado.edu> * Add tests to the Autograde module (earthlab#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 <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Updated changelog * flake8 fix Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> * Hist bin midpoints (earthlab#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 <leah.wasser@colorado.edu> * Update setuptools from 46.1.1 to 46.1.3 (earthlab#231) * Title assert accepts strings (earthlab#229) * Fixed assert_title_contains to take strings as well as lists * Better implementation * Changelog update Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> * M2r remove (earthlab#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 (earthlab#190) raster inherits from vector rather than base (earthlab#76) Allow geodataframes in assert_polygons (earthlab#188) fixing a few syntax errors (earthlab#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 <leah.wasser@colorado.edu> * remove tabls Co-authored-by: Nathan Korinek <nako1890@colorado.edu> update changelog for release Bump version: 0.1.1 → 0.1.2 Add flake8 fix [WIP] (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> Assert string accept spaces (earthlab#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 (earthlab#202) * Update codecov from 2.0.15 to 2.0.16 * update from master (earthlab#211) * Add flake8 fix [WIP] (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * Assert string accept spaces (earthlab#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 <nako1890@colorado.edu> Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> Co-authored-by: Nathan Korinek <nako1890@colorado.edu> Contributors update (earthlab#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 (earthlab#215) Add Assert points function & cleanup duplicate methods (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * 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 <leah.wasser@colorado.edu> Add tests to the Autograde module (earthlab#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 <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Updated changelog * flake8 fix Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> Hist bin midpoints (earthlab#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 <leah.wasser@colorado.edu> Update setuptools from 46.1.1 to 46.1.3 (earthlab#231) Title assert accepts strings (earthlab#229) * Fixed assert_title_contains to take strings as well as lists * Better implementation * Changelog update Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> M2r remove (earthlab#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 (earthlab#188) fixing a few syntax errors (earthlab#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 <leah.wasser@colorado.edu> * remove tabls Co-authored-by: Nathan Korinek <nako1890@colorado.edu> Get images function (earthlab#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 <leah.wasser@colorado.edu> Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> Bump version: 0.1.1 → 0.1.2 Add flake8 fix [WIP] (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> Contributors update (earthlab#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 (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * 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 <leah.wasser@colorado.edu> # This is the commit message #2: Update setuptools from 46.1.1 to 46.1.3 (earthlab#231) * fix copyright on docs (earthlab#244) * Add pillow (earthlab#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 <github-bot@pyup.io> Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> * setup greetings! (earthlab#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 <ryla5068@colorado.edu> Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> Co-authored-by: pyup.io bot <github-bot@pyup.io>
* 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 (earthlab#190) * raster inherits from vector rather than base (earthlab#76) * Allow geodataframes in assert_polygons (earthlab#188) * fixing a few syntax errors (earthlab#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 <leah.wasser@colorado.edu> * remove tabls Co-authored-by: Nathan Korinek <nako1890@colorado.edu> * update changelog for release * Bump version: 0.1.1 → 0.1.2 * Add flake8 fix [WIP] (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * Assert string accept spaces (earthlab#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 (earthlab#202) * Update codecov from 2.0.15 to 2.0.16 * update from master (earthlab#211) * Add flake8 fix [WIP] (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * Assert string accept spaces (earthlab#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 <nako1890@colorado.edu> Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> Co-authored-by: Nathan Korinek <nako1890@colorado.edu> * Contributors update (earthlab#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 (earthlab#215) * Update pytest from 5.3.5 to 5.4.1 * Add Assert points function & cleanup duplicate methods (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * 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 <leah.wasser@colorado.edu> * Add tests to the Autograde module (earthlab#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 <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Updated changelog * flake8 fix Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> * Hist bin midpoints (earthlab#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 <leah.wasser@colorado.edu> * Update setuptools from 46.1.1 to 46.1.3 (earthlab#231) * Title assert accepts strings (earthlab#229) * Fixed assert_title_contains to take strings as well as lists * Better implementation * Changelog update Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> * M2r remove (earthlab#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 (earthlab#190) raster inherits from vector rather than base (earthlab#76) Allow geodataframes in assert_polygons (earthlab#188) fixing a few syntax errors (earthlab#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 <leah.wasser@colorado.edu> * remove tabls Co-authored-by: Nathan Korinek <nako1890@colorado.edu> update changelog for release Bump version: 0.1.1 → 0.1.2 Add flake8 fix [WIP] (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> Assert string accept spaces (earthlab#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 (earthlab#202) * Update codecov from 2.0.15 to 2.0.16 * update from master (earthlab#211) * Add flake8 fix [WIP] (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * Assert string accept spaces (earthlab#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 <nako1890@colorado.edu> Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> Co-authored-by: Nathan Korinek <nako1890@colorado.edu> Contributors update (earthlab#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 (earthlab#215) Add Assert points function & cleanup duplicate methods (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * 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 <leah.wasser@colorado.edu> Add tests to the Autograde module (earthlab#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 <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Updated changelog * flake8 fix Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> Hist bin midpoints (earthlab#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 <leah.wasser@colorado.edu> Update setuptools from 46.1.1 to 46.1.3 (earthlab#231) Title assert accepts strings (earthlab#229) * Fixed assert_title_contains to take strings as well as lists * Better implementation * Changelog update Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> M2r remove (earthlab#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 (earthlab#188) fixing a few syntax errors (earthlab#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 <leah.wasser@colorado.edu> * remove tabls Co-authored-by: Nathan Korinek <nako1890@colorado.edu> Get images function (earthlab#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 <leah.wasser@colorado.edu> Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> Bump version: 0.1.1 → 0.1.2 Add flake8 fix [WIP] (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> Contributors update (earthlab#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 (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * 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 <leah.wasser@colorado.edu> # This is the commit message #2: Update setuptools from 46.1.1 to 46.1.3 (earthlab#231) * Minor change to assert_xy conversion method. * Revert "Minor change to assert_xy conversion method." This reverts commit bfa569f. * fix copyright on docs (earthlab#244) * Add pillow (earthlab#254) * add pillow as a dev requirement * update for pillow addition * Improved handline of lines without xy-data (Issue earthlab#238) * Added docstrings to line tests. * Added Seaborn to dev requirements * Undo changes regarding x-limits problems (Issue earthlab#235) * Fixed issue with new way of checking that the data is covered by the line * Changelog to rst (earthlab#267) * Update setuptools from 42.0.2 to 45.2.0 (earthlab#190) * raster inherits from vector rather than base (earthlab#76) * Allow geodataframes in assert_polygons (earthlab#188) * fixing a few syntax errors (earthlab#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 <leah.wasser@colorado.edu> * remove tabls Co-authored-by: Nathan Korinek <nako1890@colorado.edu> * update changelog for release * Bump version: 0.1.1 → 0.1.2 * Add flake8 fix [WIP] (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * Assert string accept spaces (earthlab#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 (earthlab#202) * Update codecov from 2.0.15 to 2.0.16 * update from master (earthlab#211) * Add flake8 fix [WIP] (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * Assert string accept spaces (earthlab#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 <nako1890@colorado.edu> Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> Co-authored-by: Nathan Korinek <nako1890@colorado.edu> * Contributors update (earthlab#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 (earthlab#215) * Update pytest from 5.3.5 to 5.4.1 * Add Assert points function & cleanup duplicate methods (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * 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 <leah.wasser@colorado.edu> * Add tests to the Autograde module (earthlab#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 <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Updated changelog * flake8 fix Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> * Hist bin midpoints (earthlab#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 <leah.wasser@colorado.edu> * Update setuptools from 46.1.1 to 46.1.3 (earthlab#231) * Title assert accepts strings (earthlab#229) * Fixed assert_title_contains to take strings as well as lists * Better implementation * Changelog update Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> * M2r remove (earthlab#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 (earthlab#190) raster inherits from vector rather than base (earthlab#76) Allow geodataframes in assert_polygons (earthlab#188) fixing a few syntax errors (earthlab#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 <leah.wasser@colorado.edu> * remove tabls Co-authored-by: Nathan Korinek <nako1890@colorado.edu> update changelog for release Bump version: 0.1.1 → 0.1.2 Add flake8 fix [WIP] (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> Assert string accept spaces (earthlab#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 (earthlab#202) * Update codecov from 2.0.15 to 2.0.16 * update from master (earthlab#211) * Add flake8 fix [WIP] (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * Assert string accept spaces (earthlab#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 <nako1890@colorado.edu> Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> Co-authored-by: Nathan Korinek <nako1890@colorado.edu> Contributors update (earthlab#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 (earthlab#215) Add Assert points function & cleanup duplicate methods (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * 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 <leah.wasser@colorado.edu> Add tests to the Autograde module (earthlab#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 <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Update matplotcheck/tests/test_autograde.py Co-Authored-By: Leah Wasser <leah.wasser@colorado.edu> * Updated changelog * flake8 fix Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> Hist bin midpoints (earthlab#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 <leah.wasser@colorado.edu> Update setuptools from 46.1.1 to 46.1.3 (earthlab#231) Title assert accepts strings (earthlab#229) * Fixed assert_title_contains to take strings as well as lists * Better implementation * Changelog update Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> M2r remove (earthlab#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 (earthlab#188) fixing a few syntax errors (earthlab#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 <leah.wasser@colorado.edu> * remove tabls Co-authored-by: Nathan Korinek <nako1890@colorado.edu> Get images function (earthlab#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 <leah.wasser@colorado.edu> Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> Bump version: 0.1.1 → 0.1.2 Add flake8 fix [WIP] (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> Contributors update (earthlab#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 (earthlab#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 (earthlab#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 <leah.wasser@colorado.edu> * 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 <leah.wasser@colorado.edu> # This is the commit message #2: Update setuptools from 46.1.1 to 46.1.3 (earthlab#231) * fix copyright on docs (earthlab#244) * Add pillow (earthlab#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 <github-bot@pyup.io> Co-authored-by: Leah Wasser <leah.wasser@colorado.edu> * setup greetings! (earthlab#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 <ryla5068@colorado.edu> Co-authored-by: pyup.io bot <github-bot@pyup.io> Co-authored-by: Leah Wasser <leah.wasser@colorado.edu>
|
@lwasser updated this vignette as per our discussion earlier today. Two important things to note:
|

Vignette to demonstrate line testing capabilities in the
basepackage inmatplotcheck.This vignette seems a bit sparse. I left out
assert_xydataas it was demonstrrated in theplot_testing_basicsvignette, but I could add it in here as a reminder if we wanted to! Also: I could add in x/y lims assertions in this vignette if we wanted to. I wasn't sure how focused we wanted this vignette to be, so I stuck to the basics and I have tests ready to add if we decide we want more!