Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.ip.facedetect
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.ip.facedetect
Commits
a862d8a7
Commit
a862d8a7
authored
5 years ago
by
Tiago de Freitas Pereira
Browse files
Options
Downloads
Patches
Plain Diff
Trying to fix matplotlib issue
parent
6e0dc59d
No related branches found
No related tags found
No related merge requests found
Pipeline
#31479
passed
5 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/ip/facedetect/script/plot_froc.py
+7
-7
7 additions, 7 deletions
bob/ip/facedetect/script/plot_froc.py
with
7 additions
and
7 deletions
bob/ip/facedetect/script/plot_froc.py
+
7
−
7
View file @
a862d8a7
...
...
@@ -26,13 +26,6 @@ import matplotlib; matplotlib.use('pdf') #avoids TkInter threaded start
import
matplotlib.pyplot
as
mpl
from
matplotlib.backends.backend_pdf
import
PdfPages
# enable LaTeX interpreter
matplotlib
.
rc
(
'
text
'
,
usetex
=
True
)
matplotlib
.
rc
(
'
font
'
,
family
=
'
serif
'
)
matplotlib
.
rc
(
'
lines
'
,
linewidth
=
4
)
# increase the default font size
matplotlib
.
rc
(
'
font
'
,
size
=
18
)
import
argparse
import
numpy
,
math
import
os
...
...
@@ -168,6 +161,13 @@ def read_score_file(filename):
def
main
(
command_line_arguments
=
None
):
"""
Reads score files, computes error measures and plots curves.
"""
# enable LaTeX interpreter
matplotlib
.
rc
(
'
text
'
,
usetex
=
True
)
matplotlib
.
rc
(
'
font
'
,
family
=
'
serif
'
)
matplotlib
.
rc
(
'
lines
'
,
linewidth
=
4
)
# increase the default font size
matplotlib
.
rc
(
'
font
'
,
size
=
18
)
args
=
command_line_options
(
command_line_arguments
)
# get some colors for plotting
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment