forked from reingart/pyfpdf
-
Notifications
You must be signed in to change notification settings - Fork 341
Feature: matplotlib renderer #1700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
petri-lipponen-movesense
wants to merge
36
commits into
py-pdf:master
Choose a base branch
from
petri-lipponen-movesense:feature/matplotlib_renderer
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
b1a54a1
Feature: Matplotlib renderer
petri-lipponen-movesense 88e8fad
- add dependency
petri-lipponen-movesense 70ff91f
- more dep
petri-lipponen-movesense 0dd0abf
- fix version
petri-lipponen-movesense 5e9902f
- fix if condition
petri-lipponen-movesense de2a5fe
- fix
petri-lipponen-movesense 8d06f2a
- set copy=false for speed
petri-lipponen-movesense 21dc25a
Merge branch 'py-pdf:master' into feature/matplotlib_renderer
petri-lipponen-movesense 30980b7
- revert lineplot test case
petri-lipponen-movesense 2bc2c78
- fix fonts
petri-lipponen-movesense be248ac
- added mention on CHANGELOG.md
petri-lipponen-movesense 33750dd
- added support for simple dashed lines
petri-lipponen-movesense 5247d33
- code formatting
petri-lipponen-movesense f890abc
- some linter fixes
petri-lipponen-movesense d8d7646
- re-black
petri-lipponen-movesense 6399508
- fixed linter warnings
petri-lipponen-movesense bf2c516
- moved matplotlib to test dependency
petri-lipponen-movesense d341578
- try using assert_pdf_equal
petri-lipponen-movesense 54ab63a
- hope this fixes it...
petri-lipponen-movesense 549b630
- move matplotlib as optional depedency
petri-lipponen-movesense 518c2a4
- removed renderer from init.py
petri-lipponen-movesense 6157929
- disabled assert_pdf_equal
petri-lipponen-movesense bcc10f5
- add matplotlib to docs
petri-lipponen-movesense 60476db
- remove generate=True
petri-lipponen-movesense de5ee7d
- fix lint
petri-lipponen-movesense 0e54f13
- re-black
petri-lipponen-movesense 1ddb74e
Update fpdf/fpdf_renderer.py
petri-lipponen-movesense ed1d426
Update docs/Maths.md
petri-lipponen-movesense fc08f24
- use uppercase for logger
petri-lipponen-movesense 4a665d1
- style fixes
petri-lipponen-movesense 42b18f4
- cleanup
petri-lipponen-movesense 77e904b
- re-fix generate=true
petri-lipponen-movesense fc85d0d
- re-black
petri-lipponen-movesense 5634ed7
- lint fix
petri-lipponen-movesense 5846c21
- handle case of empty path
petri-lipponen-movesense 39cf82a
- skip & log non-iterable path segments
petri-lipponen-movesense File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -67,3 +67,4 @@ nosetests.xml | |
| *.*~ | ||
| *.swo | ||
| *.swp | ||
| test/mpl_renderer/generated_pdf/*.pdf | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,6 +19,8 @@ This can also be enabled programmatically with `warnings.simplefilter('default', | |
| ## [2.8.6] - Not released yet | ||
| ### Added | ||
| * support for SVG `<linearGradient>` and `<radialGradient>` elements - _cf._ [issue #1580](https://github.com/py-pdf/fpdf2/issues/1580) - thanks to @Ani07-05 | ||
| * Direct FPDF renderer for matplotlib images | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you please add a link there to the new documentation section in https://py-pdf.github.io/fpdf2/Maths.html#using-matplotlib ? |
||
|
|
||
| ### Fixed | ||
| * a bug when rendering empty tables with `INTERNAL` layout, that caused an extra border to be rendered due to an erroneous use of `list.index()` - _cf._ [issue #1669](https://github.com/py-pdf/fpdf2/issues/1669) | ||
| ### Changed | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to add this